MediaWiki:Common.js: различия между версиями
Перейти к навигации
Перейти к поиску
Eme (обсуждение | вклад) Нет описания правки |
Eme (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
var auto_comment = 0; | var auto_comment = 0; | ||
if (document.URL.indexOf("action=edit") > 0 || document.URL.indexOf("action=submit") > 0) | if (document.URL.indexOf("action=edit") > 0 || document.URL.indexOf("action=submit") > 0) | ||
| Строка 12: | Строка 11: | ||
} | } | ||
} | } | ||
var popUpGetCategorySettings; | |||
//Structure with settings for popUp get category | //Structure with settings for popUp get category | ||
| Строка 22: | Строка 23: | ||
this.url = "http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php"; | this.url = "http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php"; | ||
} | } | ||
popUpGetCategorySettings = new CPopUp_GetCategory_Settings(); | |||
Версия от 14:54, 19 декабря 2007
var auto_comment = 0;
if (document.URL.indexOf("action=edit") > 0 || document.URL.indexOf("action=submit") > 0)
{
if (wgCanonicalNamespace != "Special")
{
document.write('<script type="text/javascript" src="/index.php' +
'?title=MediaWiki:Onlyifediting.js&action=raw' +
'&ctype=text/javascript&dontcountme=s"></script>');
}
}
var popUpGetCategorySettings;
//Structure with settings for popUp get category
function CPopUp_GetCategory_Settings()
{
this.selectedCategoryName;
this.categoryListCode;
this.xmlHttpObj;
this.popUp;
this.url = "http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php";
}
popUpGetCategorySettings = new CPopUp_GetCategory_Settings();