|
|
| (36 גרסאות ביניים של 7 משתמשים אינן מוצגות) |
| שורה 1: |
שורה 1: |
| function alertProtected {
| | /*This is old script for adding {{protected}} automaticlly. */ |
| if (wgRestrictionEdit[0] == 'sysop' || wgRestrictionEdit[0] == 'autoconfirmed') {
| |
| | |
| // deal with sysop protection
| |
| if (wgRestrictionEdit[0] == 'sysop') {
| |
| var alertLink = '<a href="/wiki/' + ;
| |
| alertLink += encodeURIComponent((wgNamespaceNumber == 0) ? 'שיחה:' : 'שיחת ');
| |
| alertLink += encodeURIComponent(wgPageName);
| |
| alertLink += '" title="';
| |
| alertLink += (wgNamespaceNumber == 0) ? 'שיחה:' : 'שיחת ';
| |
| alertLink += wgPageName;
| |
| alertLink += '">דף השיחה</a>';
| |
| | |
| var alertTxt = '<table class="ambox" align="center" style="border: 1px solid #AFAFAF; background-color: #FFFFFF; width: 75%; margin-top: 5px; margin-bottom: 5px; padding: .2em; text-align: center; clear: both;"><tr><td style="margin-right: 1em; text-align:right; margin-left: 1em; vertical-align: middle; width: 75px;"><a href="/wiki/%D7%AA%D7%9E%D7%95%D7%A0%D7%94:Lock-icon.png" class="image" title="Lock-icon.png"><img alt="" src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Lock-icon.png/50px-Lock-icon.png" width="50" height="48" border="0" /></a></td><td style="text-align: right;"><b><a href="/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%93%D7%A3_%D7%9E%D7%95%D7%92%D7%9F" title="ויקיפדיה:דף מוגן">דף זה מוגן מפני עריכות</a></b><br /><a href="/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%9E%D7%A4%D7%A2%D7%99%D7%9C_%D7%9E%D7%A2%D7%A8%D7%9B%D7%AA" title="ויקיפדיה:מפעיל מערכת">מפעילי המערכת</a> נאלצו להפוך דף זה ל<a href="/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%93%D7%A3_%D7%9E%D7%95%D7%92%D7%9F" title="ויקיפדיה:דף מוגן">דף מוגן</a> מפני עריכות. לפרטים וסיבות עיינו בדף הגרסאות הקודמות וב' + alertLink + '.<br />אם אתם סבורים שיש לשנות את תוכן הערך (להוסיף מידע, להסיר מידע, או כל שינוי אחר), אנא ציינו זאת ב' + alertLink + ', ושם גם המקום לטעון שהדף אינו צריך להיות מוגן.</td></tr></table>');
| |
|
| |
|
| |
| } else {
| |
| // deal with autoconfirmed protection
| |
| | |
| }
| |
גרסה אחרונה מ־13:38, 2 במאי 2024
/*This is old script for adding {{protected}} automaticlly. */