Jump to content

User:Alex 21/script-functions

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Qwerfjkl (talk | contribs) at 15:16, 14 February 2022 (Fixing sortkey for Category:Wikipedia scripts (via Bandersnatch)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

User:Alex 21/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

[edit]

To install just this script, add:

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

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

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

Bugs

[edit]

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

See also

[edit]