MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: importScriptPage('Tooltips/code.js', 'dev');") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
importScriptPage('Tooltips/code.js', 'dev'); | 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', | |||
] | |||
}); |
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', ] });