170.087
Bearbeitungen
KKeine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 327: | Zeile 327: | ||
if ( mw.config.get( 'wgUserName' ) === null /* inlined mw.user.isAnon() */ ) { | if ( mw.config.get( 'wgUserName' ) === null /* inlined mw.user.isAnon() */ ) { | ||
mw.loader.load("ext.gadget.teahouse"); | mw.loader.load("ext.gadget.teahouse"); | ||
} | |||
/** | |||
* Edittools | |||
* | |||
* Formatting buttons for special characters below the edit field | |||
* Also enables these buttons on any textarea or input field on the page. | |||
* | |||
* Maintainer: [[User:Lupo]], [[User:DieBuche]] | |||
*/ | |||
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit' , 'submit' ]) > -1 | |||
|| mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload' | |||
) { | |||
importScript('MediaWiki:Edittools.js'); | |||
} | } |