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

       Web browser: ---
            Bug ID: 51361
           Summary: Mediawiki no longer handling BOMs in javascript files
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Back in January, Mediawiki was handling BOMs in
[[:hi:Mediawiki:Gadget-Twinkle.js]] fine.

However, in July, they were causing parse errors which looked like the
following:

Exception thrown by ext.gadget.Twinkle: JavaScript parse error: Parse error:
Illegal token in file 'MediaWiki:Gadget-Twinkle.js' on line 1

I've since removed the BOMs and the errors (at least those due to the BOMs)
dissapeared. Diff: [1]

Note that there was no change made to the javascript file in between. Permalink
to the version in question: [2]

This kinda seems like regression to me.

1:
http://hi.wikipedia.org/w/index.php?title=%E0%A4%AE%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF:Gadget-Twinkle.js&diff=2175350&oldid=1938833
2:
http://hi.wikipedia.org/w/index.php?title=%E0%A4%AE%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF:Gadget-Twinkle.js&oldid=1938833

-- 
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