MediaWiki:Common.js

To customise the scripts behaviour, you'll need to place a configuration block before the previous code: