MediaWiki:Common.js: различия между версиями
Перейти к навигации
Перейти к поиску
Eme (обсуждение | вклад) Нет описания правки |
Eme (обсуждение | вклад) Нет описания правки |
||
| Строка 19: | Строка 19: | ||
this.selectedCategoryName; | this.selectedCategoryName; | ||
this.categoryListCode; | this.categoryListCode; | ||
this.xmlHttpObj; | this.xmlHttpObj = sajax_init_object(); | ||
this.popUp; | this.popUp; | ||
this.url = "http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php"; | this.url = "http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php"; | ||
Версия от 15:01, 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 = sajax_init_object();
this.popUp;
this.url = "http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php";
}
popUpGetCategorySettings = new CPopUp_GetCategory_Settings();