diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2021-11-08 15:40:46 +0100 |
---|---|---|
committer | Dayllan Maza <dmaza@wikimedia.org> | 2022-03-30 14:08:08 -0400 |
commit | 4ce0b390431fe9e777543664a486b9129105bdb7 (patch) | |
tree | 1b4f5f854db135273b311a687f7a10127778309b /languages | |
parent | c11db77cb8ccb48e69410efc28af72a7c0fe140a (diff) | |
download | mediawikicore-4ce0b390431fe9e777543664a486b9129105bdb7.tar.gz mediawikicore-4ce0b390431fe9e777543664a486b9129105bdb7.zip |
UndeletePage: Undelete associated talk page
* Adds option to undelete associated talk page in the context of a
subject page
* If subject page undeletion fails, talk page undeletion is aborted
* If restoring the associated talk page fails, a status with a
warning message is returned
Bug: T304962
Change-Id: I7b30863060974d4079639f57178062d359956c2e
Diffstat (limited to 'languages')
-rw-r--r-- | languages/i18n/en.json | 2 | ||||
-rw-r--r-- | languages/i18n/qqq.json | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 1dcd415ca4d2..b1f4da7e2942 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -2637,6 +2637,8 @@ "undelete-cleanup-error": "Error deleting unused archive file \"$1\".", "undelete-missing-filearchive": "Unable to restore file archive ID $1 because it is not in the database.\nIt may have already been undeleted.", "undelete-error": "Error undeleting page", + "undelete-error-associated-alreadytalk": "Cannot undelete associated talk page of a talk page.", + "undelete-error-associated-notdeleted": "The associated talk page has no revisions that can be restored.", "undelete-show-file-confirm": "Are you sure you want to view the deleted revision of the file \"<nowiki>$1</nowiki>\" from $2 at $3?", "undelete-show-file-submit": "Yes", "undelete-revision-row2": "$1 ($2) $3 . . $4 $5 $6 $7 $8", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 1f811d47b9fb..bdbb8334e8f5 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -2871,6 +2871,8 @@ "undelete-cleanup-error": "Used as error message. Parameters:\n* $1 - file path", "undelete-missing-filearchive": "Used as error message. Parameters:\n* $1 - missing ID", "undelete-error": "Page title when a page could not be undeleted", + "undelete-error-associated-alreadytalk": "Error message shown when attempting to undelete the associated talk page of a page in the talk namespace.", + "undelete-error-associated-notdeleted": "Error message shown when attempting to undelete the associated talk page but it has no revisions to undelete.", "undelete-show-file-confirm": "A confirmation message shown on [[Special:Undelete]] when the request does not contain a valid token (e.g. when a user clicks a link received in mail).\n\nParameters:\n* $1 - the name of the file being undeleted\n* $2 - the date of the displayed revision\n* $3 - the time of the displayed revision\n{{Identical|Are you sure you want to view the deleted revision of the file...}}", "undelete-show-file-submit": "{{Identical|Yes}}", "undelete-revision-row2": "{{Optional}}\nA revision row in the undelete page. Parameters:\n* $1 is a checkBox to indicate whether to restore this specific revision\n* $2 is a link to the last revision of a page ({{msg-mw|last}})\n* $3 is a link to the page\n* $4 is a link to the revision's user\n* $5 is the revision's minor edit identifier\n* $6 is the revision size\n* $7 is the revision comment\n* $8 is the revision's tags", |