Extension:jQuery
From WikiEducator
| jQuery Release status: beta | |
|---|---|
| Implementation | User interface |
| Description | Adds jQuery to every page of an older MediaWiki installation. |
| Author(s) | JimTittslerTalk |
| Last Version | 1.0 (2011-06-03) |
| MediaWiki | 1.15.5 |
| License | GPL2 |
| Download | git [1] |
What does this extension do?
This trivial extension inserts a script tag to load jQuery on every page of a MediaWiki installation.
Installation
- Install the extension from [2].
- git checkout master
- Add the line
require_once("$IP/extensions/jquerymw/jQuery.php");to your LocalSettings.php file. - Set
$wgjQuerysrcto a string containing the URL of the copy of jQuery to be loaded.