Page MenuHomePhabricator

Links to local namespace Wikipedia:Foo rendered as mw:WikiLink/Interwiki to enwiki
Closed, ResolvedPublic

Description

http://it.wikipedia.org/wiki/Utente:Elitre_%28WMF%29/Sandbox?veaction=edit

This was actually discussed on IRC by Inez, subbu, gwicke on July 3rd, I might provide that part of the log if useful.


Version: unspecified
Severity: normal
URL: http://parsoid.wmflabs.org/it/Utente:Elitre_(WMF)/Sandbox

Details

Reference
bz51680

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:49 AM
bzimport added projects: Parsoid, good first bug.
bzimport set Reference to bz51680.
Elitre created this task.Jul 19 2013, 12:52 PM

This is because Parsoid sees [[Wikipedia:VisualEditor/Cosa_cambia]] as a link to [[VisualEditor/Cosa_cambia]] on interwiki "Wikipedia" (i.e., the English Wikipedia). Whoops.

Created attachment 12996
screenshot of adding a wikipedia: link

Attached:

Can't reproduce on enwp for obvious reasons.

Namespace prefixes need to take precedence over interwiki prefixes in Parsoid, as is the case in the PHP parser.

I have a patch for this one, taking it.

Change 86872 had a related patch set uploaded by Marcoil:
Bug 51680: Give preference to namespaces over interwiki prefixes

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

Change 87203 had a related patch set uploaded by Cscott:
ParserTests: allow test of precedence between interwiki links and namespaces

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

Change 86872 merged by jenkins-bot:
Bug 51680: Give preference to namespaces over interwiki prefixes

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

Change 87203 merged by jenkins-bot:
ParserTests: allow test of precedence between interwiki links and namespaces

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

Change 87272 had a related patch set uploaded by Cscott:
Add 'MemoryAlpha' namespace for parser tests.

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

Change 87272 merged by jenkins-bot:
Add 'MemoryAlpha' namespace for parser tests.

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