Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/168996
Change subject: GlobalRenameQueue: Allow users to add a comment for the public
log
......................................................................
GlobalRenameQueue: Allow users to add a comment for the public log
Bug: 72545
Change-Id: Ife103a45e5d02a86127782998eec3c01641cc9ab
---
M i18n/en.json
M i18n/qqq.json
M includes/specials/SpecialGlobalRenameQueue.php
3 files changed, 11 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/96/168996/1
diff --git a/i18n/en.json b/i18n/en.json
index fe52581..76a8ddc 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -472,5 +472,6 @@
"centralauth-abortlogin-renamed": "Your account was renamed to \"$1\".
Please use that username instead.",
"sulrenamewarning-title" : "{{GENDER:$1|Your}} account has been
renamed",
"sulrenamewarning-renamed" : "{{GENDER:$2|Your}} account '''$1''' has
been renamed to '''$2''' during automatic migration to the unified login system
of {{int:Centralauth-groupname}}.",
- "sulrenamewarning-usenew" : "Please use {{GENDER:$1|your}} new username
'''$1''' when logging in in the future."
+ "sulrenamewarning-usenew" : "Please use {{GENDER:$1|your}} new username
'''$1''' when logging in in the future.",
+ "globalrenamequeue-request-reason-label": "Public log entry comment (if
accepting)"
}
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 1b6d508..5ad04bd 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -479,5 +479,6 @@
"centralauth-abortlogin-renamed": "Error message shown when the user's
account was renamed, and they need to login with their new name\n\n* $1 is the
new username they should use.",
"sulrenamewarning-title": "[[Special:SulRenameWarning]] title\n\n* $1
is the user's new name for GENDER",
"sulrenamewarning-renamed": "Notice to user that their account has been
renamed.\n\n* $1 is the user's old name\n* $2 is the user's new name",
- "sulrenamewarning-usenew": "Instructions to user to login with new name
in the future\n\n* $1 is the user's new name"
+ "sulrenamewarning-usenew": "Instructions to user to login with new name
in the future\n\n* $1 is the user's new name",
+ "globalrenamequeue-request-reason-label": "Label for field that will be
used as the log comment in the public rename log"
}
diff --git a/includes/specials/SpecialGlobalRenameQueue.php
b/includes/specials/SpecialGlobalRenameQueue.php
index ea5b25d..6f57c8c 100644
--- a/includes/specials/SpecialGlobalRenameQueue.php
+++ b/includes/specials/SpecialGlobalRenameQueue.php
@@ -242,8 +242,14 @@
'type' => 'textarea',
'rows' => 5,
),
- // The following checkboxes need to have their
names stay in
+ // The following fields need to have their
names stay in
// sync with the expectations of
GlobalRenameUser::rename()
+ 'reason' => array(
+ 'id' =>
'mw-renamequeue-reason',
+ 'label-message' =>
'globalrenamequeue-request-reason-label',
+ 'name' => 'reason',
+ 'type' => 'text',
+ ),
'movepages' => array(
'id' =>
'mw-renamequeue-movepages',
'name' => 'movepages',
--
To view, visit https://gerrit.wikimedia.org/r/168996
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife103a45e5d02a86127782998eec3c01641cc9ab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits