User:Olaru/global.js

importArticles({   type: "script",    articles: [        'u:dev:PortableCSSPad/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:CodeQuickLinks/code.js',        'u:dev:SkinSwitchButton/code.js',        'u:dev:MediaWiki:PurgeButton/code.js',        'u:dev:ViewRemovedAlways/code.js',        'u:dev:MediaWikiBacklink/code.js',        'u:diepio:MediaWiki:BlogLink/code.js'    ] }); window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges"];

//From User:Sophiedp/global.js $('', {   id: 'qcup',    }).html('Create user page') .appendTo('.toolbar .tools') .click(function {       $.ajax({ type: 'POST', url: mw.util.wikiScript( 'api' ), dataType: 'json', data: { action: 'edit', title: 'User:Count of Howard', summary: 'Creating user page (script)', text: '', format: 'json', token: mw.user.tokens.get('editToken') }   }).done(function (data) { if (data.edit.result === 'Success') { new BannerNotification("Successfully created page!","confirm").show; } else { new BannerNotification("An error occurred.","error").show; }   }).fail(function (data) { new BannerNotification("An error occurred.","error").show; }); });