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

           Summary: Main (system) JavaScript variables suddenly at the end
                    of the head tag, after MediaWiki:Common.js etc.; breaks
                    scripts
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://de.wiktionary.org/wiki/Tor
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: FlaggedRevs
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Main (system) JavaScript variables suddenly at the end of the head tag, after
MediaWiki:Common.js etc.
This recent change (occured with code update today) breaks efficient scripts
that rely on variables like wgStableRevisionId on runtime/loadtime!

Example:
<script type="text/javascript">
var wgFlaggedRevsParams = {"tags": {"accuracy": 2}};
var wgStableRevisionId = 1068025;
var wgAjaxReview = {"sendingMsg": "Übertragung …", "sentMsgOk": "Markierung
gesetzt ✔", "sentMsgBad": "Markierung konnte nicht gesetzt werden!",
"actioncomplete": "Aktion beendet", "actionfailed": "Aktion fehlgeschlagen"}
</script>
<script type="text/javascript"
src="/w/extensions/FlaggedRevs/flaggedrevs.js?60"></script>
</head>


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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