Изменения

MediaWiki:Common.js

723 байта убрано, 10:11, 6 августа 2016
Нет описания правки
var mcw = window.mcw = {};
 
/* Variables for interface text used throughout the script, for ease of translating */
mcw.i18n = {
// Collapsible tables and page loader
hideText: 'скрыть',
showText: 'показать',
// Page loader
loadErrorTitle: 'Возникла ошибка при загрузке содержимого',
// File upload
defaultLicense: 'Лицензия'
};
 
/* Keep track of delegated events on dynamic content */
mcw.events = {};
 
/* Add extra buttons to the classic toolbar */
if ( mw.user.options.get( 'showtoolbar' ) && !mw.user.options.get( 'usebetatoolbar' ) ) {
importScript( 'MediaWiki:Toolbar.js' );
}
 
if (wgAction == 'edit' || wgAction == 'submit') {
importScript( 'MediaWiki:AddSumButton.js' );
}
/* Fired whenever wiki content is added. (#mw-content-text, live preview, load page, etc.) */