۷٬۰۶۷
ویرایش
Nazarzadeh (بحث | مشارکتها) جز (۱ نسخه واردشده) |
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
خط ۹: | خط ۹: | ||
} | } | ||
if (mw.config.get('wgUserGroups').every(function (x) { | /* if (mw.config.get('wgUserGroups').every(function (x) { | ||
return ['bot', 'autopatrolled', 'patroller', 'sysop', 'eliminator'].indexOf(x) === -1; | return ['bot', 'autopatrolled', 'patroller', 'sysop', 'eliminator'].indexOf(x) === -1; | ||
})) { | })) { | ||
$('#content').empty().append('متأسفانه این ابزار به کاربران دارای دسترسی گشت خودکار محدود شده است.'); | $('#content').empty().append('متأسفانه این ابزار به کاربران دارای دسترسی گشت خودکار محدود شده است.'); | ||
return; | return; | ||
} | } */ | ||
window.onbeforeunload = function () { | window.onbeforeunload = function () { |