Wikipedia:User scripts/Guide: Difference between revisions
Content deleted Content added
Let's move "Running code on page load" to "Basic techniques". It's more in-depth than the surrounding sections. |
→Built-in scripts: update, reword |
||
Line 85:
== Built-in scripts ==
All Wikipedia pages include some built-in [[MediaWiki]] JavaScript code, with variables and functions that can be used in user scripts. Some of them
* <code>mw</code> (<code>mediaWiki</code>) for MediaWiki core,
* <code>OO</code> for [[mw:OOjs|OOjs]],
|