https://bugzilla.wikimedia.org/show_bug.cgi?id=28207
Summary: No more JavaScript on frwiki (ResourceLoader serves
invalid code)
Product: Wikimedia
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Normal
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Hello,
It looks like there is a bug in ResourceLoader (or in some JavaScript minifier)
that cause the valid Medawiki:Common.js of frwiki to become invalid.
Valid (at least looks like it is):
http://bits.wikimedia.org/fr.wikipedia.org/load.php?debug=true&lang=fr&modules=site&only=scripts
Invalid (sure it is not):
http://bits.wikimedia.org/fr.wikipedia.org/load.php?debug=false&lang=fr&modules=site&only=scripts
A for loop is split where it is not legal:
for(var a=0,l=AllToggleLinks.length;a<l;a++){
becomes
for(var a=0,l=AllToggleLinks.length;a<l;a
++){
The remaining JavaScript is of course skipped, so many things do not work
anymore.
Thanks and best regards,
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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