מדיה ויקי:AlertProtected.js: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 2: | שורה 2: | ||
if (wgRestrictionEdit[0] == 'sysop' || wgRestrictionEdit[0] == 'autoconfirmed') { | if (wgRestrictionEdit[0] == 'sysop' || wgRestrictionEdit[0] == 'autoconfirmed') { | ||
var alertLink = '<a href="/wiki/' | var alertLink = '<a href="/wiki/'; | ||
alertLink += encodeURIComponent((wgNamespaceNumber == 0) ? 'שיחה:' : 'שיחת '); | alertLink += encodeURIComponent((wgNamespaceNumber == 0) ? 'שיחה:' : 'שיחת '); | ||
alertLink += encodeURIComponent(wgPageName); | alertLink += encodeURIComponent(wgPageName); | ||