User:Js/urldecoder.js: Difference between revisions

Content deleted Content added
the secure server no longer exists
Maintenance: mw:RL/MGU - Updated deprecated module name
 
(One intermediate revision by one other user not shown)
Line 12:
}
 
mw.loader.using( [ 'user.options', 'jquery.textSelection', 'jquerymediawiki.accessKeyLabelutil' ], function () {
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar . . . */
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {
$( function () {
if ( mw.user.options.get('usebetatoolbar') ) {
mw.loader.using( 'ext.wikiEditor.toolbar', addUrlDecoderButton );
} else {
btn = oldToolbarBtn;