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

Content deleted Content added
m remove syntaxhighlight tags
Remove fixes for bugs 21604 (spellcheck) and 23241 (license display during update image)
Line 110:
}
});
 
 
/** Edittools javascript loader ************************************************
Line 156 ⟶ 157:
});
 
 
// Turn on spellchecking in the edit summary field, for Firefox.
// Temporary until [[bugzilla:21604]] is deployed
addOnloadHook( function() {
var wpSummary = document.getElementById( "wpSummary" );
if ( wpSummary && typeof wpSummary.spellcheck != undefined )
wpSummary.spellcheck = true;
});
 
/* Remove when http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65899 is deployed */
if( wgPageName == "Special:Upload" && getURLParamValue( "wpForReUpload") == "1" ) {
appendCSS( "tr.mw-htmlform-field-Licenses {display:none;}" );
}
 
/** RefToolbar ************************************************