User:Marcus Pierce/global.js

importArticles({   type: 'script',    articles: [        'u:dev:UTCClock/code.js',        'u:dev:Message/code.js',    ] });

importScriptPage('SkinSwitchButton/code.js', 'dev'); /** * Add Buttons Photo * @description: Adds buttons to add photos in a quick and easy way. * @author: Shodai Tsuchi * @author: KockaAdmiralac * @todo: I18N */ $('.page-header__contribution-buttons').append(   $.map({ 'Foto': 'Special:Upload', 'mehrere Fotos': 'Special:MultipleUpload' }, function(v, k) { return $('', {           'class': 'wds-button wds-is-squished wds-is-secondary',            href: mw.util.getUrl(v),            text: k,            title: k        }); }) ); // Button for adding a video // Made by User:JustLeafy // TODO: I18n $('.page-header__contribution-buttons').append(   $('', { 'class': 'wds-button wds-is-squished wds-is-secondary', href: mw.util.getUrl(page), text: 'Video hinzufügen', title: 'Video hinzufügen' }) );