Difference between revisions of "MediaWiki/js"
Jump to navigation
Jump to search
m |
(Adds example of common.js in the MediaWiki namespace) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The first thing to know about [[MediaWiki]] and [[JavaScript]] is that the site administrator can customize the wiki installation by simply modifying the article [[MediaWiki:Common.js]] | The first thing to know about [[MediaWiki]] and [[JavaScript]] is that the site administrator can customize the wiki installation by simply modifying the article [[MediaWiki:Common.js]] | ||
− | For instance, if you put the | + | For instance, if you put the JavaScript code for WikEd in there, it will make the WikEd editor available to all users of the local wiki. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 14:42, 5 December 2008
The first thing to know about MediaWiki and JavaScript is that the site administrator can customize the wiki installation by simply modifying the article MediaWiki:Common.js
For instance, if you put the JavaScript code for WikEd in there, it will make the WikEd editor available to all users of the local wiki.