MediaWiki:WikiLove.js

From PCBWiki
Revision as of 21:36, 18 December 2015 by TheOctopus (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
( function ( $ ) {
'use strict';

delete $.wikiLoveOptions.types.kitten;
delete $.wikiLoveOptions.types.barnstar;
delete $.wikiLoveOptions.types.food;
  


$.extend(true, $.wikiLoveOptions, {
	types: {
		'minecraft' : {
			'option': "Minecraft",
			'header': "Minecraft"
			
		}
	}
});

var bst = $.wikiLoveOptions.types.barnstar.subtypes,
	del_bst = function (what) {
		if (bst[what]) {
			delete bst[what];
		}
	};

del_bst('writers');
del_bst('editors');
del_bst('copyeditor');
del_bst('citation');

}( jQuery ) );
//</nowiki>