Kingdom Rush Wiki
Advertisement

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.
/* Auto updating recent changes opt-in
  * See w:c:dev:AjaxRC for info & attribution 
  */
 
 AjaxRCRefreshText = 'Auto-Refresh';
 AjaxRCRefreshHoverText = 'Automatically refresh the page';
 ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:UncategorizedPages","Special:AllPages"];
 importScriptPage('AjaxRC/code.js', 'dev');



/*Don't rollback someone's contrib if they are not part in that group*/
window.RollbackWikiDisable === true;

if (mediaWiki.config.get('wgNamespaceNumber') === 1, 500) {
	(function ($, mw, LockOldBlogs, ArticleComments) {
		"use strict";
 
		// set up default config options if custom ones haven't been supplied
		// want to ensure variables have the right type, so not using $.extend here
		if (typeof LockOldBlogs !== "object" || LockOldBlogs === null) {
			LockOldBlogs = {};
		}
		if (typeof LockOldBlogs.expiryDays !== "number") {
			LockOldBlogs.expiryDays = 30;
		}
		if (typeof LockOldBlogs.expiryMessage !== "string") {
			LockOldBlogs.expiryMessage = "This blog hasn\'t been commented on for over <expiryDays> days. There is no need to comment.";
		}
		if (typeof LockOldBlogs.nonexpiryCategory !== "string") {
			LockOldBlogs.nonexpiryCategory = "Nonexpiry blogs";
		}
		if (!$.isArray(LockOldBlogs.expiryCategories)) {
			LockOldBlogs.expiryCategories = [];
		}
	}
)
}
Advertisement