MediaWiki:Userjsyoucanpreview

Tip: Use the "Show preview" button to test your new JavaScript before saving.