Thread:TK-999/@comment-16802052-20130829172529/@comment-2200849-20130830191755

Placing the script at https://gist.github.com/TK-999/6393315 into MediaWiki:Common.js should do that.