Last modified: 2014-07-12 10:25:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69840, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67840 - Special:Version shows jumbled localized parser extension tags on he.wp
Special:Version shows jumbled localized parser extension tags on he.wp
Status: VERIFIED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.24rc
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://he.wikipedia.org/wiki/Special...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-11 06:17 UTC by Amir E. Aharoni
Modified: 2014-07-12 10:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2014-07-11 06:17:24 UTC
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.
Comment 1 Bawolff (Brian Wolff) 2014-07-11 21:55:55 UTC
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.
Comment 2 Gerrit Notification Bot 2014-07-11 22:04:14 UTC
Change 145704 had a related patch set uploaded by Brian Wolff:
Use htmlspecialchars not htmlentities to escape tags on Version.

https://gerrit.wikimedia.org/r/145704
Comment 3 Gerrit Notification Bot 2014-07-12 08:34:56 UTC
Change 145704 merged by jenkins-bot:
Use htmlspecialchars not htmlentities to escape tags on Version.

https://gerrit.wikimedia.org/r/145704
Comment 4 Niklas Laxström 2014-07-12 10:25:53 UTC
Verified on beta labs.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links