الفرق بين الصفحتين: «ميدياويكي:Gadget-twinkleconfig.js» و«ويكيبيديا:لمح البصر/ورشة/سكريبتات/Gadget-twinkleconfig.js»

(الفرق بين الصفحتين)
صفحة 1
صفحة 2
تم حذف المحتوى تمت إضافة المحتوى
لا ملخص تعديل
 
ط ‏ بوت: إصلاح أخطاء فحص ويكيبيديا من 1 إلى 104
 
سطر 1: سطر 1:
//<syntaxhighlight lang="js" line="1">
// <nowiki>




سطر 14: سطر 14:
* Active on: What I just said. Yeah.
* Active on: What I just said. Yeah.


I, [[User:This, that and the other]], originally wrote this. If the code is misbehaving, or you have any
I, [[مستخدم:This, that and the other]], originally wrote this. If the code is misbehaving, or you have any
questions, don't hesitate to ask me. (This doesn't at all imply [[WP:OWN]]ership - it's just meant to
questions, don't hesitate to ask me. (This doesn't at all imply [[ويكيبيديا:OWN]]ership - it's just meant to
point you in the right direction.) -- TTO
point you in the right direction.) -- TTO
*/
*/
سطر 246: سطر 246:


// TwinkleConfig.blankTalkpageOnIndefBlock (boolean)
// TwinkleConfig.blankTalkpageOnIndefBlock (boolean)
// if true, blank the talk page when issuing an indef block notice (per [[WP:UWUL#Indefinitely blocked users]])
// if true, blank the talk page when issuing an indef block notice (per [[ويكيبيديا:UWUL#Indefinitely blocked users]])
{
{
name: 'blankTalkpageOnIndefBlock',
name: 'blankTalkpageOnIndefBlock',
سطر 910: سطر 910:
},
},
// twinklewarn.js: When using the autolevel select option, how many days makes a prior warning stale
// twinklewarn.js: When using the autolevel select option, how many days makes a prior warning stale
// Huggle is three days ([[Special:Diff/918980316]] and [[Special:Diff/919417999]]) while ClueBotNG is two:
// Huggle is three days ([[خاص:Diff/918980316]] and [[خاص:Diff/919417999]]) while ClueBotNG is two:
// https://github.com/DamianZaremba/cluebotng/blob/4958e25d6874cba01c75f11debd2e511fd5a2ce5/bot/action_functions.php#L62
// https://github.com/DamianZaremba/cluebotng/blob/4958e25d6874cba01c75f11debd2e511fd5a2ce5/bot/action_functions.php#L62
{
{
سطر 1٬715: سطر 1٬715:


pageobj.setPageText(text);
pageobj.setPageText(text);
pageobj.setEditSummary('Saving Twinkle preferences: automatic edit from [[:' + Morebits.pageNameNorm + ']] ([[WP:TW|TW]])');
pageobj.setEditSummary('Saving Twinkle preferences: automatic edit from [[:' + Morebits.pageNameNorm + ']] ([[ويكيبيديا:TW|TW]])');
pageobj.setCreateOption('recreate');
pageobj.setCreateOption('recreate');
pageobj.save(Twinkle.config.saveSuccess);
pageobj.save(Twinkle.config.saveSuccess);
سطر 1٬736: سطر 1٬736:




// </nowiki>
//</syntaxhighlight>