User:Marcus Pierce/global.js

importArticles({   type: 'script',    articles: [        'u:dev:UTCClock/code.js',        'u:dev:Message/code.js',        'u:dev:MediaWiki:AvatarLink.js',        'u:dev:MediaWiki:WikiaNavBarHider/code.js',    ] }); $('.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' }) );