User:GreenWithin/global.js

$( function {   $('aside.page__right-rail').prepend( $(' ', { id: 'stickyRightRailButton'} ).prepend(           $("button.right-rail-toggle").css({'position':'sticky', 'top':'58px'})        ).css({'position':'absolute', 'right':'0', 'height':'100%', 'padding-bottom':'430px', 'padding-top':'15px'}) ); });

window.AjaxUndoMinor = true;

var lang = mw.config.get('wgContentLanguage'); window.FCButtons = [ {       label: 'Create user page', target: 'User:GreenWithin', summary: 'Creating userpage (script)', content: '', alwaysDisplay: true, placement: '.global-navigation__bottom .wds-dropdown .wds-list', prepend: true },   {        label: 'Crear página de usuario', target: 'Usuario:GreenWithin', summary: 'Generando página de usuario (script)', content: '', alwaysDisplay: true, placement: '.global-navigation__bottom .wds-dropdown .wds-list', prepend: true, require: lang === 'es' }, ];

mw.loader.getScript('https://dev.fandom.com/load.php?mode=articles&articles=MediaWiki:ArticlesAsResources.js&only=scripts').then(function {   importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:AjaxEditPreview.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:DecodeURI/code.js', 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:nkch:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:DisableCode/code.js', ]  }); });