Jump to content

User:Alex 21/script-functions

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 1997kB (talk | contribs) at 02:19, 31 December 2018 (1997kB moved page User:AlexTheWhovian/script-functions to User:Alex 21/script-functions: Automatically moved page while renaming the user "AlexTheWhovian" to "Alex 21"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

User:AlexTheWhovian/script-functions.js is required to include multiple shared functions, and the custom "TV Scripts" header, many of which are used identically in a few of my other scripts - you only need to include it in Special:MyPage/common.js once.

Installation

To install just this script, add:

importScript('User:AlexTheWhovian/script-functions.js');

to Special:MyPage/common.js. To make sure that the functions script has loaded before any other AlexTheWhovian script, load your script into common.js as such:

importScript('User:AlexTheWhovian/script-functions.js');
setTimeout(function() {
	importScript('User:AlexTheWhovian/{SCRIPT}.js');
},1000);

Bugs

Please report any bugs on the talk page of the script's creator.

See also