Wikipedia:User scripts/Guide: Difference between revisions
Content deleted Content added
Moving the DHTML sections to the bottom of the article, per discussion on the talk page. |
→Built-in scripts: Clarified some wording. |
||
Line 5:
== Built-in scripts ==
All Wikipedia pages include some built-in [[MediaWiki]] JavaScript code, with variables and functions that can be utilized in user scripts. The specific code depends on the viewed page and current users, for more details see [[Wikipedia:Catalogue of CSS classes#Stylesheets and JavaScript]].
Of most interest are:
*
* [{{SERVER}}/skins-1.5/common/wikibits.js wikibits.js]
* [[MediaWiki:Common.js]] (as [{{SERVER}}{{SCRIPTPATH}}/index.php?title=-&action=raw&smaxage=0&gen=js generated]), supported by local [[Wikipedia:Administrators|
* The user's own [[Special:MyPage/monobook.js|/monobook.js]] (exact name depends on the [[Wikipedia:Skin|skin]] in
== Userscript structure ==
|