MediaWiki:Gadget-blockNotificationsButton.js: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tag: editprotected |
No edit summary Tag: editprotected |
||
Line 14: | Line 14: | ||
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Block' ) { |
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Block' ) { |
||
mw.loader.load( '// |
mw.loader.load( '//test.wikipedia.org/w/index.php?title=MediaWiki:Gadget-blockNotificationsButton.js/core.js&action=raw&ctype=text/javascript' ); |
||
} |
} |
||
Latest revision as of 21:51, 29 October 2021
/**
* Block Notification Button
*
* @desc Adds a button to notify a user after blocking
* @author [[pt:User:!Silent]]
* @date 13/apr/2012
* @updated 29/oct/2021
* @source https://github.com/Nevallem/mw-gadget-blockNotificationButton
*/
/* global mw */
( function () {
'use strict';
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Block' ) {
mw.loader.load( '//test.wikipedia.org/w/index.php?title=MediaWiki:Gadget-blockNotificationsButton.js/core.js&action=raw&ctype=text/javascript' );
}
}() );