MediaWiki:Common.js: Difference between revisions
From Test Wiki
Content deleted Content added
mNo edit summary |
Outdated script Tag: Undo |
||
| (12 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
// Edittools (do not remove) |
|||
if ( [ 'edit' , 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 |
|||
|| mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload' |
|||
) { |
|||
| ⚫ | |||
mw.loader.load('//testwiki.wiki/index.php?title=MediaWiki:Edittools.js&action=raw&ctype=text/javascript'); // Backlink: [[MediaWiki:Edittools.js]] |
|||
} |
|||
/** |
/** |
||
* Edit description buttons for the visual editor |
* Edit description buttons for the visual editor |
||
| Line 5: | Line 13: | ||
mw.loader.load( 'ext.gadget.summaryButtons' ); |
mw.loader.load( 'ext.gadget.summaryButtons' ); |
||
} ); |
} ); |
||
// Temporary - remove this once SocialProfile extension is gone |
|||
| ⚫ | |||