{{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: wikibugs-l.
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

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.