MediaWiki:AddButtonVideo/code.js

//Button for adding a video //Made by User:JustLeafy (function {   function createButton(text, page) {        return $('', { href: mw.util.wikiGetlink(page), title: text, 'class': 'wds-button wds-is-squished wds-is-secondary' }).text(text);   }    $('.page-header__contribution-buttons').append( createButton('Add a Video', 'Special:WikiaVideoAdd') ); });