MediaWiki:Common.js: различия между версиями
Перейти к навигации
Перейти к поиску
Eme (обсуждение | вклад) Нет описания правки |
Eme (обсуждение | вклад) Нет описания правки |
||
| Строка 11: | Строка 11: | ||
'&ctype=text/javascript&dontcountme=s"></script>'); | '&ctype=text/javascript&dontcountme=s"></script>'); | ||
} | } | ||
} | |||
//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"; | |||
} | } | ||
Версия от 14:51, 19 декабря 2007
var auto_comment = 0;
var popUpGetCategoryName = 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>');
}
}
//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";
}