Unicodesnowman has uploaded a new change for review.
https://gerrit.wikimedia.org/r/181363
Change subject: Add undelete messages for undelete.py
......................................................................
Add undelete messages for undelete.py
Bug: T181359
Change-Id: I09b378608aa70a5124dc5f266dd993e6db1c5e8e
---
M delete.py
M delete/en.json
M delete/qqq.json
3 files changed, 17 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/i18n
refs/changes/63/181363/1
diff --git a/delete.py b/delete.py
index 6630321..0488ea2 100644
--- a/delete.py
+++ b/delete.py
@@ -6,16 +6,23 @@
'delete-images': u'Bot: Deleting all images on page %(page)s',
'delete-linked-pages': u'Bot: Deleting all pages linked from %(page)s',
'delete-referring-pages': u'Bot: Deleting all pages referring from
%(page)s',
+ 'undelete-from-file': u'Bot: Undeleting a list of pages.',
+ 'undelete-images': u'Bot: Undeleting all images on page %(page)s',
+ 'undelete-linked-pages': u'Bot: Undeleting all pages linked from
%(page)s',
},
# Author: Lloffiwr
# Author: Shirayuki
# Author: Xqt
+ # Author: Unicodesnowman
'qqq': {
'delete-images': u'Used as edit summary. Parameters:\n* %(page)s -
page name\nSee also:\n* {{msg-pywikibot|Protect-images}}',
'delete-referring-pages': u'Edit summary when the bot deletes all
pages referring from a page.\n\nRefer is basically [[Special:WhatLinksHere]],
or all the pages that link to the page provided.\n\nParameters:\n* %(page)s -
page name\nSee also:\n* {{msg-pywikibot|Protect-ref}}',
'delete-from-category': u'Used as edit summary. Parameters:\n*
%(page)s - category name\nSee also:\n* {{msg-pywikibot|Protect-category}}',
'delete-from-file': u'Edit summary when the bot deletes a list of
pages.',
'delete-linked-pages': u'Edit summary when the bot deletes all pages
linked from a page.\n\nLink is all the links on a page. So if your page content
was <nowiki>[[Page1]] [[Page2]]</nowiki>, it would use those two
pages.\n\nParameters:\n* %(page)s - page name\nSee also:\n*
{{msg-pywikibot|Protect-links}}',
+ 'undelete-from-file': u'Edit summary when the bot undeletes a list of
pages.',
+ 'undelete-images': u'Edit summary when the bot undeletes all images on
a page.\n\nParameters:\n* %(page)s - page where linked images are deleted\nSee
also:\n* {{msg-pywikibot|Protect-links}}',
+ 'undelete-linked-pages': u'Edit summary when the bot undeletes all
pages linked on a page.\n\nParameters:\n* %(page)s - page name\nSee also:\n*
{{msg-pywikibot|Protect-links}}',
},
# Author: Csisc
'aeb': {
diff --git a/delete/en.json b/delete/en.json
index c029dd1..9abc71b 100644
--- a/delete/en.json
+++ b/delete/en.json
@@ -3,5 +3,8 @@
"delete-referring-pages": "Bot: Deleting all pages referring from
%(page)s",
"delete-from-category": "Bot: Deleting all pages from category
%(page)s",
"delete-from-file": "Bot: Deleting a list of pages.",
- "delete-linked-pages": "Bot: Deleting all pages linked from %(page)s"
+ "delete-linked-pages": "Bot: Deleting all pages linked from %(page)s",
+ "undelete-from-file": "Bot: Undeleting a list of pages.",
+ "undelete-images": "Bot: Undeleting all images on page %(page)s",
+ "undelete-linked-pages": "Bot: Undeleting all pages linked from %(page)s"
}
diff --git a/delete/qqq.json b/delete/qqq.json
index 57d43ea..2ceb784 100644
--- a/delete/qqq.json
+++ b/delete/qqq.json
@@ -2,12 +2,16 @@
"@metadata": {
"authors": [
"Shirayuki",
- "Xqt"
+ "Xqt",
+ "Unicodesnowman"
]
},
"delete-images": "Used as edit summary. Parameters:\n* %(page)s - page
name\nSee also:\n* {{msg-pywikibot|Protect-images}}",
"delete-referring-pages": "Edit summary when the bot deletes all pages
referring from a page.\n\nRefer is basically [[Special:WhatLinksHere]], or all
the pages that link to the page provided.\n\nParameters:\n* %(page)s - page
name\nSee also:\n* {{msg-pywikibot|Protect-ref}}",
"delete-from-category": "Used as edit summary. Parameters:\n* %(page)s
- category name\nSee also:\n* {{msg-pywikibot|Protect-category}}",
"delete-from-file": "Edit summary when the bot deletes a list of
pages.",
- "delete-linked-pages": "Edit summary when the bot deletes all pages
linked from a page.\n\nLink is all the links on a page. So if your page content
was <nowiki>[[Page1]] [[Page2]]</nowiki>, it would use those two
pages.\n\nParameters:\n* %(page)s - page name\nSee also:\n*
{{msg-pywikibot|Protect-links}}"
+ "delete-linked-pages": "Edit summary when the bot deletes all pages
linked from a page.\n\nLink is all the links on a page. So if your page content
was <nowiki>[[Page1]] [[Page2]]</nowiki>, it would use those two
pages.\n\nParameters:\n* %(page)s - page name\nSee also:\n*
{{msg-pywikibot|Protect-links}}",
+ "undelete-from-file": "Edit summary when the bot undeletes a list of
pages.",
+ "undelete-images": "Edit summary when the bot undeletes all images on a
page.\n\nParameters:\n* %(page)s - page where linked images are deleted\nSee
also:\n* {{msg-pywikibot|Protect-links}}",
+ "undelete-linked-pages": "Edit summary when the bot undeletes all pages
linked on a page.\n\nParameters:\n* %(page)s - page name\nSee also:\n*
{{msg-pywikibot|Protect-links}}"
}
--
To view, visit https://gerrit.wikimedia.org/r/181363
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I09b378608aa70a5124dc5f266dd993e6db1c5e8e
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Owner: Unicodesnowman <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits