Last modified: 2014-06-28 13:50:34 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 T69241, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67241 - {{#language:}} parser function throws Fatal exception of type MWException when second parameter has special characters
{{#language:}} parser function throws Fatal exception of type MWException whe...
Status: RESOLVED DUPLICATE of bug 60629
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-28 09:48 UTC by Jesús Martínez Novo (Ciencia Al Poder)
Modified: 2014-06-28 13:50 UTC (History)
1 user (show)

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


Attachments

Description Jesús Martínez Novo (Ciencia Al Poder) 2014-06-28 09:48:05 UTC
On WMF wikis (like mediawiki.org), the {{#language:}} parser function provided by Extension:CLDR [1] throws on MediaWiki wikis a Fatal exception of type MWException when for the second parameter you put some special characters.

Those are what I've tested so far and produce the exception:

 < > ' " : [ ] ( ) / &

Example input that produces the error:

{{#language:es|<}}

Works just doing a preview.

I've installed CLDR extension on current master, and it doesn't throw that error for me. I've tried without caching, with memcache and with database cache, but I was unable to reproduce the problem, hence filing under Wikimedia product instead of Extensions/CLDR

Discovered by bug 35628 comment #11

----
[1] https://www.mediawiki.org/wiki/Extension:CLDR
Comment 1 Umherirrender 2014-06-28 13:50:34 UTC

*** This bug has been marked as a duplicate of bug 60629 ***

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


Navigation
Links