MediaWiki:Gadget-extra-toolbar-buttons.js: Difference between revisions

From Not a Wiki
Optimisation
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:09, 25 November 2024

if ( /^(edit|submit)$/.test( mw.config.get( 'wgAction' ) ) || mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload' ) {
    mw.loader.load( 'ext.gadget.extra-toolbar-buttons-core' );
}