Page MenuHomePhabricator

Interwiki with double ' char (wrong parsing)
Closed, ResolvedPublic

Description

Author: dake.cdx

Description:
We tried to link an article from :nap on :fr, here's the name of the article :

Lista d''e paise d''o munno

http://nap.wikipedia.org/wiki/Lista_d%27%27e_paise_d%27%27o_munno

but the interwiki [[nap:Lista d''e paise d''o munno]] is not properly parsed. It
results in a slanted text instead of a link. Someone managed to find an ugly
hack with a <nowiki> tag but the bots like interwiki.py remove it.

http://fr.wikipedia.org/w/index.php?title=Liste_des_pays_du_monde&diff=3757526&oldid=3757461

Probably something to fix in the interwiki regexp.


Version: 1.6.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz3749

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:52 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz3749.
bzimport added a subscriber: Unknown Object (MLST).

'' is parsed in the link when it should not be :/

Reassigning to MediaWiki product.

nicdumz wrote:

Still live, even with the new parser.

gangleri wrote:

does this relate to
bug 004598 Order of title recognition and bold / italic rendering should be reversed
bug 004601 Exact search for titles using php meta / escape characters

they relate to handling of strings as *G''t*

  • This bug has been marked as a duplicate of bug 4598 ***