{{anchorencode:}} removes text between < and >
OpenPublic

Description

Author: jelle.zijlstra

Description:
This is problematic because [[:en:Template:Cite doi]] uses anchorencode to encode its DOIs, and DOIs with <> in it get butched. I think this is a recent change in the way anchorencode works, but I'm not sure about that.


Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/wiki/User:Ucucha/anchorencodebug

bzimport added a project: MediaWiki-Parser.Via ConduitNov 21 2014, 11:31 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz28212.
bzimport created this task.Via LegacyMar 23 2011, 10:43 PM
bzimport added a comment.Via ConduitMar 23 2011, 11:13 PM

jelle.zijlstra wrote:

I guess this is caused by line 5269 of http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/parser/Parser.php?view=markup&sortby=rev&sortdir=down, and is probably intentional behavior.

Add Comment