From c61dc0f54a44e44b50f9bff3c1b24a688ec5f8fe Mon Sep 17 00:00:00 2001 From: SUDHIR KUMAR <112376748+IamSudhir-Kumar@users.noreply.github.com> Date: Thu, 21 Sep 2023 22:38:15 +0530 Subject: [PATCH 1/2] added 10 days, 6 months, 2 years in protect --- modules/twinkleprotect.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/twinkleprotect.js b/modules/twinkleprotect.js index 54ea74694..071268081 100644 --- a/modules/twinkleprotect.js +++ b/modules/twinkleprotect.js @@ -686,12 +686,15 @@ Twinkle.protect.protectionLengths = [ { label: '2 days', value: '2 days' }, { label: '3 days', value: '3 days' }, { label: '4 days', value: '4 days' }, + { label: '10 days', value: '10 days' }, { label: '1 week', value: '1 week' }, { label: '2 weeks', value: '2 weeks' }, { label: '1 month', value: '1 month' }, { label: '2 months', value: '2 months' }, { label: '3 months', value: '3 months' }, + { label: '6 months', value: '6 months' }, { label: '1 year', value: '1 year' }, + { label: '2 year', value: '2 year' }, { label: 'indefinite', value: 'infinity' }, { label: 'Custom...', value: 'custom' } ]; From c494ef4de1a222ebd218d78cbd17cca7c0248bff Mon Sep 17 00:00:00 2001 From: NovemLinguae Date: Thu, 5 Sep 2024 19:25:46 -0700 Subject: [PATCH 2/2] 2 year -> 2 years --- modules/twinkleprotect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/twinkleprotect.js b/modules/twinkleprotect.js index 071268081..00fc1c759 100644 --- a/modules/twinkleprotect.js +++ b/modules/twinkleprotect.js @@ -694,7 +694,7 @@ Twinkle.protect.protectionLengths = [ { label: '3 months', value: '3 months' }, { label: '6 months', value: '6 months' }, { label: '1 year', value: '1 year' }, - { label: '2 year', value: '2 year' }, + { label: '2 years', value: '2 years' }, { label: 'indefinite', value: 'infinity' }, { label: 'Custom...', value: 'custom' } ];