Page MenuHomePhabricator

Cross-wiki wikilink rendered as an external link
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Novem_Linguae
Jul 22 2022, 11:29 AM
Referenced Files
F71814228: image.png
Feb 11 2026, 11:35 AM
F71814138: image.png
Feb 11 2026, 11:35 AM
F35330107: image.png
Jul 22 2022, 11:29 AM
F35330105: image.png
Jul 22 2022, 11:29 AM

Description

Steps to replicate the issue

What happens?:

What should have happened instead?:

  • It should render as Wikipedia -> meta:Community Wishlist Survey 2019/Admins and patrollers/Page Curation and New Pages Feed improvements

Software version

Other information

  • This happened in an unsupported namespace, but I suspect this kind of bug could happen in any namespace. Therefore I am reporting it.

image.png (1,096×426 px, 58 KB)

image.png (2,038×202 px, 69 KB)

Event Timeline

I'm not sure if this could be considered a bug. The link works just fine. (Although the use of %20 for spaces is weird, I filed T313600 about this.)

VisualEditor just doesn't have any special handling for interwiki links, so they look like normal external links in our interface. If you add or edit such a link, it will be turned into an interwiki link in wikitext after saving, but this is hidden from VisualEditor. There were some feature requests to improve this (e.g. T98135), but they weren't a priority for us because such links are not usually used in articles.

Change #1238364 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Detect interwiki external links and render like internal links

https://gerrit.wikimedia.org/r/1238364