User:C.Syde65/global.js

window.SeeMoreActivityButtonOld = true; mw.loader.using('mediawiki.util').then(function { if (mw.config.get('wgCityId') === '177') {   importArticle({ type: 'style', article: 'u:dev:MediaWiki:WikiaCommunityCentralTheme.css' }); } AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges"]; window.UserTagsJS = {   modules: {        inactive: 62,        newuser: true,        autoconfirmed: true,        mwGroups: [            'bureaucrat',            'sysop',            'assistant',            'rollback',            'global-discussions-moderator'        ]    },    tags: {        assistant: 'Assistant',        threadmoderator: 'Discussion Moderator',        'content-moderator': 'Content Moderator'    },    oasisPlaceBefore: '' }; importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:EditIntroButton/code.js', 'u:dev:MediaWiki:AjaxRC/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:UserTags/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:AjaxBatchDelete/code.2.js', 'u:dev:MediaWiki:AjaxBatchUndelete/code.js', 'u:dev:MediaWiki:DeleteTalkpage.js', 'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassBlock/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:QQX/code.js', 'u:dev:MediaWiki:Less/code.2.js', 'u:dev:MediaWiki:MinimalTemplateClassification.js', 'u:dev:MediaWiki:SeeMoreActivityButton/code.js', 'u:dev:MediaWiki:WallGreeting.js', 'u:dev:MediaWiki:Rollback/code.js' ] }); // Adds NavigationPopups // wikipedia:User:Lupin/popups popupRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups'; popupQueriedRevertSummary = 'Revert to revision $1 dated $2 by $3 using popups'; popupExtendedRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups'; popupQueriedRevertToPreviousSummary = 'Revert to the revision prior to revision $1 dated $2 by $3 using popups'; popupRevertToPreviousSummary = 'Revert to the revision prior to revision %s using popups'; popupRevertSummaryPrompt = true; popupStructure = 'menus'; popupFixDabs = 'true'; popupFixDabsSummary = 'Disambiguate %s to %s using popups'; popupRmDabLinkSummary = 'Remove link to dab page %s using popups'; mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&oldid=805750784"); importStylesheetURI('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-navpop.css'); // END Adds NavigationPopups // install User:Cacycle/wikEdDiff enhanced diff importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js&action=raw&ctype=text/javascript'); // Add wgWikiName variable to mw.config // By User:Colouratura mw.config.values['wgWikiName' ] = function { return window.location.toString.split( '.wikia.com' )[ 0 ].slice( 7 ); }; //Add extra AccountNav options /* */   if (navLinks) return; var user = mw.util.wikiUrlencode(mw.config.get('wgUserName')), links = { watchlist: { text: 'My Watchlist', url: '/wiki/Special:Watchlist' },       blogs: { text: 'My Blogs', url: '/wiki/Special:Myblog' },       activity: { text: 'My Activity', url: '/wiki/Special:UserProfileActivity/' + user }   },            html = '', navLinks = true; for (var i in links) { html += '' + links[i].text + ''; }   document.querySelector('.global-navigation__bottom > .wds-dropdown > .wds-dropdown__content > ul.wds-list > li:nth-child(2)').insertAdjacentHTML('afterEnd', html); }); importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:AjaxRC/code.js' ] }); massProtectDelay = 500; importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:MassProtect/code.js' ] }); window.massEditConfig = {   editSummary: "Your edit summary",    editInterval: 1000 }; });
 * (function {

// ************************************************* // Pagetitle rewrite // // Rewrites the page's title, used by Template:Title // ************************************************* $(function {   var inter = setInterval(function { if (!$('h1[itemprop=\"name\"]').length) return;

clearInterval(inter); var newTitle = $("span.newPageTitle").find(':not(big, small, center, h1, h2, h3, h4, h5, h6, b, i, u, s, span, div)').remove.end.html; var edits = $("#user_masthead_since").text; $(".firstHeading,h1[itemprop=\"name\"],.resizable-container .page-header__title").html(mw.html.escape(newTitle)); $("#user_masthead_head h2").html(mw.html.escape(newTitle + "" + edits + " ")); }); });

$(function changeTitle{   if (!$('span.newPageTitle').length) {        return;    }    var title = $('span.newPageTitle').find(':not(big, small, center, h1, h2, h3, h4, h5, h6, b, i, u, s, span, div)').remove.end.html;    $('h1.page-header__title').html(mw.html.escape(title)); });

window.batchDeleteDelay = 1; window.nullEditDelay = 1;