Page MenuHomePhabricator

Special:Version shows jumbled localized parser extension tags on he.wp
Closed, ResolvedPublic


If you go to the list of parser extension tags on the Hebrew Wikipedia, you'll see one tag whose name appears in jumbled mojibake instead of Unicode. This is probably the localized Hebrew version of <section> from LabeledSectionTransclusion.

I cannot reproduce it on my local wiki.

Version: 1.24rc
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:37 AM
bzimport set Reference to bz67840.
bzimport added a subscriber: Unknown Object (MLST).
Amire80 created this task.Jul 11 2014, 6:17 AM

Hmm. weird, I didn't think we localized parser tags.

Anyways, caused by using the htmlentities escaping function (Why would we use that function instead of htmlspecialchars, I don't know), which prior to php 5.4 used iso 8859-1 as its default encoding. Presumably you are using 5.4 which uses utf-8 as its encoding.

Change 145704 had a related patch set uploaded by Brian Wolff:
Use htmlspecialchars not htmlentities to escape tags on Version.

Change 145704 merged by jenkins-bot:
Use htmlspecialchars not htmlentities to escape tags on Version.

Verified on beta labs.