User:Mendes2/global.js

window.pageCreatorAvatar = true; window.pageCreatorTimestamp = true; window.pageCreatorUTC = true; window.ajaxSpecialPages = ["Recentchanges", "WikiActivity", "Log"]; window.ajaxRefresh = 30000;

importArticles({   type: 'script',    articles: [        'u:dev:AjaxRC/code.js',        'u:dev:UserAccountAge/code2.js',        'u:dev:LastEdited/code.js',        'u:dev:UTCClock/code.js',        'u:dev:PageCreator/code2.js',        'u:dev:View Source/code.js',        'u:dev:UserActivityTab/code.js',        'u:dev:MediaWiki:GlobalEditcount/code.js',        'u:dev:PortableCSSPad/code.js'    ] });

/****JS and CSS pages on toolbar****/ var Links = { "/Special:MyPage/wikia.js": "Personal JS", "//community.wikia.com/wiki/Special:MyPage/global.js": "Global JS", "//community.wikia.com/wiki/Special:MyPage/global.css": "Global CSS", "/Special:MyPage/chat.js": "Personal Chat JS", "/MediaWiki:Common.js": "Wiki JS", "/MediaWiki:Common.css": "Wiki CSS" };

$.each(Links, function (url, title) {	$("#my-tools-menu").append('' + title + ''); });

/****WhatLinksHere in editor****/ /*******Visual Editor********/ mw.hook('ve.activationComplete').add(function {   $(".oo-ui-toolbar-actions").append(' WhatLinksHere  '); });

/*******Classic Editor*******/ $("#EditPageToolbar").append('WhatLinksHere ');