User:Sophiedp/global.js

/* Remove "help" from account nav menu */ $('.wds-list > li:has(a[data-tracking-label="account.help"])').remove;

/* Disable 5 second edit save delay */ GlobalTriggers.bind("WikiaEditorReady", function(point) {   if (point.controls) {        point.controls.editform.off("submit").on("submit", function { point.setState(3); });   } });

/* FastDelete config */ var fdButtons = []; window.fdButtons.push({summary: 'Housekeeping', label: 'HK' });

/* PageCreator config */ window.pageCreatorAvatar = true; window.pageCreatorTimestamp = true; window.pageCreatorNamespaces = Object.keys(mw.config.get("wgFormattedNamespaces")).map(Number);

/* LastEdited config */ window.lastEdited = { namespaces: { include: Object.keys(mw.config.get("wgFormattedNamespaces")).map(Number) } };

/* ViewRemoved config */ window.ViewRemovedAlways = true;

/* QuickCreateUserPage config */ var qtEnableUserPageOverwrite = true;

/* Link to report page */ $('').html('Report').prependTo('.toolbar .tools');

/* Link to subpages */ $('').html('Subpages').prependTo('.toolbar .tools');

/* Adds a icon to the history links in article comments */ $(".WikiaArticleComments .article-comm-history").before('<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuFJREFUeNp0U11IU2EYfjadTtLNqVNRpzKn0xWJf8uwzJoJJhphPyqCeFHgpRASOZSJ2oWXBmYX2YWYltoPGv6GIZgLLRUctJzW3Oa24zb3U+lRWOdMkaX2wsPL937v85yH834vw+12wzuaX1WEUOkeBSmFDAo+FOYP0CG/1UN49zO8BRS9dx75swIepMSkIZwbjTBOJBgMJjYdGyAoqNbnsU3+bmss66s7JtDQXaoQ8EUNl8+WQK2bw/rmKmwuK+h7XmAIokLjcDo2G9PLI1g1qhqbKgeaDgUedl1XxEeIG7LEFzC19A5RISlIiT2H6NAEMCkHeosGav0XrBnncSm1GIuaOWgMyy2t1W/ljPudhdH+fgG6kvMVGJvrh1RchILMShwNgiCwsD6OmeU3uCa9jWFlP35tO2KYuyRZIxGk4+v3DxBGpp9IViqVqK2tRXZiMdIS8jGrGkVi9BnQXCa5Qxax/XyhNxmRJb56Irm9vR1yuRxBQUHITMqHwWzCKbY/KO4N2oHkz54VNrsVkSHx/yUnJyd7auE8AaxbFjh3CNqBiHZAWuwm7O7sAUfehMvlApPJ9HzZO3Z3SGw5CdoBaIEVu8NBWeLAQKz90yiTyVBVVYX6+nqQJOmpbRA/qF4u7E47LaD1EUuDBf5sdq4gIgEbZh0yJHn/iAiFQuTk5IDD4XjOQx+fg8lyw2Izwmqx9tAOOnRaPVgBbswujeLl6ONjP5LP53vy4EQnxmZeIJDLhvanjnbQ4fPt85bzWX8ra9O6kVskK8f7yR6YLTqE8SIRzNkn6owaDIw9wdBUF0oKyjE+PQi7zd4y3LHed/iU86v59bwwbnNp4V1otWtYWP4E86bBcxfKC0eqJBuJohT0jzyFxWSrm+gi2o4tU14lT+HL8m0QJSZBmnoFcVH7o9ObNFAuTkKtVtHTaprqtjWeuI10XCwLiqVSDYWbFEQHZXo8r+l1nu51rnj3/xVgAILtTWuORi/NAAAAAElFTkSuQmCC" alt="" />'); mw.util.addCSS('.WikiaArticleComments .article-comm-history {padding-left:0px;');

/* Imports */ importArticles({   type: "script",    articles: [        'u:dev:MediaWiki:AjaxRC/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:FastDelete/code.js',        'u:dev:MediaWiki:CacheCheck/code.js',        'u:dev:MediaWiki:MarkBlocked.js',        'u:dev:MediaWiki:LastEdited/code.js',        'u:dev:MediaWiki:PageCreator/code2.js',        'u:dev:MediaWiki:HoverEditCount/code.js',        'u:dev:MediaWiki:QuickDiff/code.js',        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:MediaWiki:UserAccountAge/code.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:DupImageList/code.js',        'u:dev:MediaWiki:DisplayTimer/code.js',        'u:dev:MediaWiki:CodeQuickLinks/code.js',        'u:dev:MediaWiki:WorkingMoreUsersCount.js',        'u:dev:MediaWiki:WallGreetingButton/code.js',        'u:dev:MediaWiki:OldFilePages/code.js',        'u:dev:MediaWiki:Rollback/code.2.js', 'u:dev:MediaWiki:Thread_Inspection/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:QuickCreateMessageWallGreeting/code.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:AjaxCommentDelete/code.js', 'u:kocka:User:KockaAdmiralac/UnhideUserMasthead.javascript', 'u:kocka:User:KockaAdmiralac/MastheadGender.javascript', 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', 'u:noreply:MediaWiki:FileUsage.js' ] });