MediaWiki:UnhideAceDiff.js

/** * @Name           UnhideAceDiff * @Version        v1.0 * @Author         TheGoldenPatrik1 * @Description    Unhides the Ace diff button from its dropdown. */ (function {    if ( !$('body').hasClass('codeeditor') || window.UnhideAceDiffLoaded ) {       return;    }    window.UnhideAceDiffLoaded = true;    $('#wpDiff').appendTo('nav.buttons');    $('.buttons .drop').remove;    $('.buttons ul.WikiaMenuElement').remove;    mw.util.addCSS( '.codeeditor #EditPageRail .wikia-menu-button {\ width: 95px;\ }\       .codeeditor #EditPageRail .wikia-menu-button .codepage-publish-button {\ width: 100%;\ }'   ); });