MediaWiki talk:PageFormatter/code.js

Improvements
A few possible improvements: Hope this helps:)
 * Use .text over .html when you don't need to parse HTML. I believe the former is more performant due to it useing .innerHtml underneath. The latter requires jQuery to parse the HTML before it get inserted.
 * Use .css({key:val, key:val, ...}) over multiple calls to .css('key', 'val').css('key': 'val'). As a point of note, th CSS I spotted this being used for seems static, so moving it to a stylesheet might be a better idea again.
 * Don't look for bureaucrat when looking to use rollback - they don't have the right and unless someone has messed up they should have sysop already which does have the right.
 * Extending the previous point, use array.filter instead of all those indexOf calls as demonstrated in http://stackoverflow.com/a/1885569/1942596. It's considerably less code and probably no less performant.