משתמש:Men770/HotDefaultSort.js: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| (3 גרסאות ביניים של אותו משתמש אינן מוצגות) | |||
| שורה 1: | שורה 1: | ||
/*** Hot Default Sort ***/ | /*** Hot Default Sort ***/ | ||
// סקריפט להוספת מיון רגיל בקלות, במקור מויקיפדיה אנגלית, הסבר עליו בדף השיחה כאן. | |||
// Adds an default sort key editor at the bottom of the page near the categories | // Adds an default sort key editor at the bottom of the page near the categories | ||
// Documentation at [[en:w:User:BrandonXLF/HotDefaultSort]] | // Documentation at [[en:w:User:BrandonXLF/HotDefaultSort]] | ||
| שורה 67: | שורה 68: | ||
return { | return { | ||
text: main + (main.endsWith('\n') ? '' : '\n\n') + '{{ | text: main + (main.endsWith('\n') ? '' : '\n\n') + '{{מיון רגיל:' + edit.value.trim() + '}}\n' + cats, | ||
summary: '{{מיון רגיל}} שונה ל-' + edit.value + ' באמצעות [[User:Men770/HotDefaultSort.js|סקריפט]]' | summary: '{{מיון רגיל}} שונה ל-' + edit.value + ' באמצעות [[User:Men770/HotDefaultSort.js|סקריפט]]', | ||
bot: true, | |||
minor: true | |||
}; | }; | ||
}).done(function() { | }).done(function() { | ||