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

           Summary: Use $wgHooks['MakeGlobalVariablesScript'][] to set our
                    SlippyMap JavaScript variables
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]


MediaWiki has a better way to add to the global JS variable list, the
$wgHooks['MakeGlobalVariablesScript'][] hook.

Use this instead of the $wgOut->addScript() hack in SlippyMap.hook.php


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

Reply via email to