https://bugzilla.wikimedia.org/show_bug.cgi?id=67241

            Bug ID: 67241
           Summary: {{#language:}} parser function throws Fatal exception
                    of type MWException when second parameter has special
                    characters
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to