Sn1per has uploaded a new change for review.
https://gerrit.wikimedia.org/r/185783
Change subject: Add unprotection messages
......................................................................
Add unprotection messages
Add messages for edit summaries when bot
is unprotecting pages
Bug: T63312
Change-Id: I8255e075b40b40208b443633d99cf596e624c6be
---
M protect.py
M protect/en.json
M protect/qqq.json
3 files changed, 22 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/i18n
refs/changes/83/185783/1
diff --git a/protect.py b/protect.py
index 1b48c68..ab3312b 100644
--- a/protect.py
+++ b/protect.py
@@ -6,8 +6,12 @@
'protect-links': u'Bot: Protecting all pages linked from %(page)s',
'protect-ref': u'Bot: Protecting all pages referring from %(page)s',
'protect-simple': u'Bot: Protecting a list of files.',
+ 'protect-unprotect-category': u'Bot: Unprotecting all pages from
category %(cat)s',
+ 'protect-unprotect-images': u'Bot: Unprotecting all images on page
%(page)s',
+ 'protect-unprotect-links': u'Bot: Unprotecting all pages linked from
%(page)s',
+ 'protect-unprotect-ref': u'Bot: Unprotecting all pages referring from
%(page)s',
+ 'protect-unprotect-simple': u'Bot: Unprotecting a list of files.',
},
- # Author: Geoffrey "GEOFBOT" Mon
# Author: Valhallasw
# Author: Xqt
'qqq': {
@@ -16,6 +20,11 @@
'protect-links': u'Edit summary when the bot protects all pages linked
from a page. Parameters:\n* $(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-linked-pages}}',
'protect-ref': u'Edit summary when the bot protects all pages that
link to/transclude a page (Special:WhatLinksHere). Parameters:\n* %(page)s -
page title\nSee also:\n* {{msg-pywikibot|Delete-referring-pages}}',
'protect-simple': u'Edit summary when the bot protects a list of
files.',
+ 'protect-unprotect-category': u'Edit summary when the bot unprotects
all pages from a category. Parameters:\n* %(cat)s - category name\nSee also:\n*
{{msg-pywikibot|Delete-from-category}}',
+ 'protect-unprotect-images': u'Edit summary when the bot unprotects all
images on a page. Parameters:\n* %(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-images}}',
+ 'protect-unprotect-links': u'Edit summary when the bot unprotects all
pages linked from a page. Parameters:\n* $(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-linked-pages}}',
+ 'protect-unprotect-ref': u'Edit summary when the bot unprotects all
pages that link to/transclude a page (Special:WhatLinksHere). Parameters:\n*
%(page)s - page title\nSee also:\n* {{msg-pywikibot|Delete-referring-pages}}',
+ 'protect-unprotect-simple': u'Edit summary when the bot unprotects a
list of files.',
},
# Author: Als-Holder
'als': {
diff --git a/protect/en.json b/protect/en.json
index 8383b3c..cc76a00 100644
--- a/protect/en.json
+++ b/protect/en.json
@@ -4,5 +4,10 @@
"protect-simple": "Bot: Protecting a list of files.",
"protect-category": "Bot: Protecting all pages from category %(cat)s",
"protect-ref": "Bot: Protecting all pages referring from %(page)s",
- "protect-images": "Bot: Protecting all images on page %(page)s"
+ "protect-images": "Bot: Protecting all images on page %(page)s",
+ "protect-unprotect-links": "Bot: Unprotecting all pages linked from
%(page)s",
+ "protect-unprotect-simple": "Bot: Unprotecting a list of files.",
+ "protect-unprotect-category": "Bot: Unprotecting all pages from
category %(cat)s",
+ "protect-unprotect-ref": "Bot: Unprotecting all pages referring from
%(page)s",
+ "protect-unprotect-images": "Bot: Unprotecting all images on page
%(page)s",
}
diff --git a/protect/qqq.json b/protect/qqq.json
index e4de6ff..74fb862 100644
--- a/protect/qqq.json
+++ b/protect/qqq.json
@@ -9,5 +9,10 @@
"protect-simple": "Edit summary when the bot protects a list of files.",
"protect-category": "Edit summary when the bot protects all pages from
a category. Parameters:\n* %(cat)s - category name\nSee also:\n*
{{msg-pywikibot|Delete-from-category}}",
"protect-ref": "Edit summary when the bot protects all pages that link
to/transclude a page (Special:WhatLinksHere). Parameters:\n* %(page)s - page
title\nSee also:\n* {{msg-pywikibot|Delete-referring-pages}}",
- "protect-images": "Edit summary when the bot protects all images on a
page. Parameters:\n* %(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-images}}"
+ "protect-images": "Edit summary when the bot protects all images on a
page. Parameters:\n* %(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-images}}",
+ "protect-unprotect-links": "Edit summary when the bot unprotects all
pages linked from a page. Parameters:\n* $(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-linked-pages}}",
+ "protect-unprotect-simple": "Edit summary when the bot unprotects a
list of files.",
+ "protect-unprotect-category": "Edit summary when the bot unprotects all
pages from a category. Parameters:\n* %(cat)s - category name\nSee also:\n*
{{msg-pywikibot|Delete-from-category}}",
+ "protect-unprotect-ref": "Edit summary when the bot unprotects all
pages that link to/transclude a page (Special:WhatLinksHere). Parameters:\n*
%(page)s - page title\nSee also:\n* {{msg-pywikibot|Delete-referring-pages}}",
+ "protect-unprotect-images": "Edit summary when the bot unprotects all
images on a page. Parameters:\n* %(page)s - page title\nSee also:\n*
{{msg-pywikibot|Delete-images}}"
}
--
To view, visit https://gerrit.wikimedia.org/r/185783
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8255e075b40b40208b443633d99cf596e624c6be
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Owner: Sn1per <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits