Last modified: 2009-07-11 03:40:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21624, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19624 - Use $wgHooks['MakeGlobalVariablesScript'][] to set our SlippyMap JavaScript variables
Use $wgHooks['MakeGlobalVariablesScript'][] to set our SlippyMap JavaScript v...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SlippyMaps (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-09 23:40 UTC by Ævar Arnfjörð Bjarmason
Modified: 2009-07-11 03:40 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ævar Arnfjörð Bjarmason 2009-07-09 23:40:15 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links