Page MenuHomePhabricator

Pipe trick doesn't work for interwiki prefixes with dashes in them
Closed, ResolvedPublic

Description

I have the interwiki prefix m-w: pointing to the Merriam-Webster Online Dictionary (mw: was taken by MediaWiki.org, of course), more specifically http://www.merriam-webster.com/dictionary/$1 . I discovered that the pipe trick doesn't work with this prefix, i.e. [[m-w:verisimilitude|]] doesn't expand to [[m-w:verisimilitude|verisimilitude]] as I expected, but to [[m-w:verisimilitude|m-w:verisimilitude]]. Other interwiki prefixes without dashes do work, i.e. [[w:Homeworld|]] does expand to [[w:Homeworld|Homeworld]] as expected.


Version: 1.13.x
Severity: normal

Details

Reference
bz14058

Event Timeline

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

This looks more like a bug in the new parser than something needing enhancement.

(In reply to comment #1)

This looks more like a bug in the new parser than something needing
enhancement.

Right. I don't normally report "real bugs", so I forgot about the priority and severity fields.