Page MenuHomePhabricator

Uppercase one-letter interwiki prefixes
Open, MediumPublic


Recently I see an increasing amount of uppercase one-letter interwiki prefixes, such as [[W:Title]]. Most of them seem to come from VisualEditor edits, e.g.

I suspect Parsoid is normalising such wikilinks to uppercase, because most people use lowercase for interwiki prefixes (except sometimes the rare CamelCase ones).

Event Timeline

Nemo_bis created this task.Oct 26 2015, 5:40 PM
Nemo_bis raised the priority of this task from to Needs Triage.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added projects: Parsoid, VisualEditor.
Nemo_bis added a subscriber: Nemo_bis.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 26 2015, 5:40 PM

It would be good to get steps to reproduce this, if possible. Not sure what is causing the w:/W: iwp to be used instead of say, :en: as below.

[subbu@earth tests] echo "<a href=''>Hampi</a>" | node parse --html2wt --prefix mediawikiwiki
ssastry triaged this task as Medium priority.Oct 28 2015, 4:23 PM
ssastry set Security to None.
Tgr added a subscriber: Tgr.Jul 21 2016, 4:44 PM

This happens when you enter a link via the inspector in VisualEditor (ie. you highlight some text, open the link dialog and enter w:Title). Multi-letter prefixes are capitalized as well.

Most of the time such links won't work anyway due to T133535.

Gnom1 added a subscriber: Gnom1.Oct 22 2016, 9:29 PM
LGoto moved this task from Needs Triage to Backlog on the Parsoid board.Feb 15 2020, 9:42 PM
LGoto moved this task from Backlog to Needs Investigation on the Parsoid board.Jun 11 2020, 6:18 PM