Commit bbaedc1e authored by Michael Chaudhary's avatar Michael Chaudhary Committed by Robert Nix

Update Tilesheets for 1.33

parent aa856b4d
......@@ -23,7 +23,7 @@ function addWLHToToolbox() {
node.appendChild(liNode);
}
$.when(mw.loader.using(['mediawiki.api.messages', 'mediawiki.jqueryMsg']), $.ready)
$.when(mw.loader.using(['mediawiki.jqueryMsg']), $.ready)
.then(function() {
return new mw.Api().loadMessagesIfMissing(['tilesheet-tile-viewer-wlh']);
})
......
......@@ -14,7 +14,7 @@ class ViewTile extends SpecialPage {
$this->setHeaders();
$this->outputHeader();
$out->addModuleStyles('ext.tilesheets.special');
$out->addModuleScripts('ext.tilesheets.viewtile');
$out->addModules('ext.tilesheets.viewtile');
$dbr = wfGetDB(DB_SLAVE);
$result = $dbr->select('ext_tilesheet_items', '*', array('entry_id' => $subPage));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment