MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
importScriptPage('Tooltips/code.js', 'dev'); | importScriptPage('Tooltips/code.js', 'dev'); | ||
//Tooltips (copied from https:// | //Tooltips (copied from https://zero-game.fandom.com/wiki/MediaWiki:Common.js) | ||
window.BackToTopModern = true; | |||
importArticles({ | |||
type: 'script', | |||
articles: [ | |||
'u:dev:MediaWiki:ReferencePopups/code.js', | |||
'u:dev:MediaWiki:Tooltips.js', | 'u:dev:MediaWiki:Tooltips.js', | ||
] | |||
}); | }); | ||
Latest revision as of 19:13, 10 February 2022
/* Any JavaScript here will be loaded for all users on every page load. */ importScriptPage('Tooltips/code.js', 'dev'); //Tooltips (copied from https://zero-game.fandom.com/wiki/MediaWiki:Common.js) window.BackToTopModern = true; importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:ReferencePopups/code.js', 'u:dev:MediaWiki:Tooltips.js', ] });