MediaWiki:Common.js: различия между версиями

Материал из RSB-Doc
Перейти к навигации Перейти к поиску
Eme (обсуждение | вклад)
Нет описания правки
Eme (обсуждение | вклад)
Нет описания правки
Строка 19: Строка 19:
this.selectedCategoryName;
this.selectedCategoryName;
this.categoryListCode;
this.categoryListCode;
this.xmlHttpObj = sajax_init_object();
this.xmlHttpObj;
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:14, 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>');
       }
}




function CPopUp_GetCategory_Settings()
{
this.selectedCategoryName;
this.categoryListCode;
this.xmlHttpObj;
this.popUp;
this.url = 'http://transfer.softlab.ru/extensions/CategoryTree/GeOnlytCategoryTree.php';
}

var popUpGetCategorySettings = new CPopUp_GetCategory_Settings();