Extension:Javascript
From MediaWiki.org
Javascript Release status: stable |
|
---|---|
Implementation | User interface |
Description | Loads Javascript files from selected files or directories without duplication. |
Author(s) | User:Nad |
Last version | 2.0.1 (2010-06-20) |
MediaWiki | all versions |
License | No license specified |
Download | JavaScript.php |
Check usage (experimental) |
Manage multiple Javascript files imports from one place. The extension is a single script which you can obtain from here and save into a directory called JavaScript in your extensions directory and include in your LocalSettings.php file. Save all the necessary *.js files into the same locations as the script and they will automatically be loaded by your wiki. For more information see the OrganicDesign page or subversion repository.
To activate the extension, include in your LocalSettings.php file as in the following example:
include("$IP/extensions/JavaScript/JavaScript.php");
[edit] See also
- Extension:AddScriptCss - parser cache friendly version of 'AddScript'
- Extension:AddScript - allows adding scripts on a per-article basis with a parser-function