Thread:3primetime3/@comment-5645428-20150107150649/@comment-17897872-20150107194858

Oh thanks Hackey! I'll add it in right now.

By the way, I have a piece of code from another wiki that is implemented for one-click page deletes. Only admins can see this button, obviously. There will be a spam button and a vandal button - both will delete a page, marking one under a reason of spam and one under vandalism. So if an anon starts making tons of spam pages, it's easy to delete. But there are downsides - which you can probably tell - accidentally clicking them. It's undoable though.

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'spam' }; fdButtons[fdButtons.length] = { 'summary': 'vandalism', 'label': 'vandal' };

Also, some users have been complaining about differentiating anons that follow the rules and others that don't. In order to change that, this code will reveal the IP address instead of "A Wikia Contributor" on comments, wiki activity, forums, etc.

importArticles({        type: 'script',         articles: [                 'w:c:dev:SignatureCheck/code.js',                 'w:c:dev:View_Source/code.js',                 'w:c:dev:ListAdmins/code.js',                 'u:dev:SearchSuggest/code.js',                 "w:c:dev:RevealAnonIP/code.js"         ] }); // http://dev.wikia.com/wiki/RevealAnonIP window.RevealAnonIP = { permissions : ['rollback', 'sysop', 'bureaucrat', 'staff'] };

If I have copied and pasted anything incorrectly, you can look at the original code here. Again, it's up to you if you want to implement it. In order to implement it, copy and paste the source code on MediaWiki:Common.js.

Thanks Hackey!