MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* InactiveUsers * Adds an "inactive" tag to the user pages, user talk pages, message walls and blog pages of users who haven't made an edit of any sort for some time * See w:c:dev:InactiveUsers for info and attribution */ InactiveUsers = { months: 2 }; importScriptPage('InactiveUsers/code.js', 'dev'); /* Adds icons to page header bottom border * by: User:The 888th Avatar */ $(document).ready(function {	if (skin == "oasis" || skin == "wikia") {		$('.WikiaPageHeader').append($('#icons'));		$('#icons').css({'position' : 'absolute', 'right' : '0', 'bottom' : '-1.2em'});	} });

importArticles({	type: "script",	articles: [		/*"w:dev:ShowHide/code.js",*/ /* Collapsible elements and tables */		/*"w:dev:PurgeButton/code.js",*/ /* Add "purge" option to page controls */		/*"w:dev:DisableArchiveEdit/code.js",*/ /* Discourage/disable the editing of talk page archives */		/*"w:dev:Countdown/code.js",*/ /* Countdown clock */		/*"w:runescape:MediaWiki:Common.js/standardeditsummaries.js", /* Standard edit summaries */		/*"MediaWiki:Common.js/imports.js",*/ /* InactiveUsers and AjaxRC */		/*"MediaWiki:Common.js/randompagelink.js",*/ /* Special:Random > Special:Random/main in navigation */		/*"MediaWiki:Common.js/insertusername.js",*/ /* User name replace for Template:USERNAME */		/*"MediaWiki:Common.js/disableforumedit.js",*/ /* Discourage/disable the editing of forum archives */		/*"MediaWiki:Common.js/disablecommentsblogs.js",*/ /* Disable blog comments on old blog posts */ /*"MediaWiki:Common.js/disablecomments.js",*/ /* Disable comments for specified pages at discretion */ /*"MediaWiki:Common.js/wallgreetingbutton.js",*/ /* Add a button to edit Message Wall Greeting */ /*"MediaWiki:Common.js/socialmedia.js",*/ /* Add social media buttons to blog posts */ /*"MediaWiki:Common.js/displaytitle.js",*/ /* Ability to change full page title */ /*"MediaWiki:Common.js/addnavlinks.js",*/ /* Add "about us" and IRC links to "On the Wiki" menu */ "MediaWiki:Common.js/icons.js", /* Adds icons to page header bottom border */ /*"MediaWiki:Common.js/filluploadform.js",*/ /* Fills the summary field in upload form with imagebox */ /*"MediaWiki:Common.js/hubfix.js",*/ /* Temporary fix for Wikia hubs: Gaming > Entertainment */ /*"MediaWiki:Common.js/rollbacktag.js",*/ /* Add a tag for "rollback" to user page profile header */ /*"MediaWiki:Common.js/customizeforums.js",*/ /* Wikia forum feature changes (possibly more to come) */ /*"MediaWiki:Common.js/talkbutton.js",*/ /* Talk page buttons to article headers */ /*"MediaWiki:Common.js/fanonmodule.js",*/ /* Create WikiaRail element to advertise the fanon portal */ ] });