MediaWiki:Gadget-charinsert.js: Difference between revisions

From Ekatra Wiki
Jump to navigation Jump to search
(New)
 
No edit summary
Line 4: Line 4:


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

Revision as of 06:33, 1 May 2024

/**
 * charinsert loader
 */

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