Изменения

Перейти к: навигация, поиск

MediaWiki:Common.js

19 байтов убрано, 04:50, 19 февраля 2014
м
Нет описания правки
/* 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 ) {
mw.loader.using( 'user.options', function () { if ( mw.user.options.get('usebetatoolbar') ) { mw.loader.using( 'ext.wikiEditor.toolbar', function () {
$(document).ready( customizeToolbar );
});
});
}
 // * Add the customizations to LiquidThreads' edit toolbar, if available */
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );
}(jQuery));
  //hljs.configure({tabReplace: ' '});
hljs.initHighlightingOnLoad();
*/

Навигация