jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/342304 )

Change subject: Add GENDER to nuke-linkoncontribs-text message
......................................................................


Add GENDER to nuke-linkoncontribs-text message

For motivation see T159657.

Change-Id: I245b3eca53cbc0f8459fb18ac1c78006d6ce385a
---
M Nuke.hooks.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 4 insertions(+), 3 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/Nuke.hooks.php b/Nuke.hooks.php
index 374d2e8..89dd24d 100644
--- a/Nuke.hooks.php
+++ b/Nuke.hooks.php
@@ -17,7 +17,8 @@
                        $toolLinks['nuke'] = 
$sp->getLinkRenderer()->makeKnownLink(
                                SpecialPage::getTitleFor( 'Nuke' ),
                                $sp->msg( 'nuke-linkoncontribs' )->text(),
-                               [ 'title' => $sp->msg( 
'nuke-linkoncontribs-text' )->text() ],
+                               [ 'title' => $sp->msg( 
'nuke-linkoncontribs-text',
+                                       $userPageTitle->getText() )->text() ],
                                [ 'target' => $userPageTitle->getText() ]
                        );
                }
diff --git a/i18n/en.json b/i18n/en.json
index 9b9ab92..71cda05 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -30,5 +30,5 @@
        "nuke-viewchanges": "view changes",
        "nuke-namespace": "Limit to namespace:",
        "nuke-linkoncontribs": "mass delete",
-       "nuke-linkoncontribs-text": "Mass delete pages where this user is the 
only author"
+       "nuke-linkoncontribs-text": "Mass delete pages where {{GENDER:$1|this 
user}} is the only author"
 }
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 2e88633..0aeae89 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -41,5 +41,5 @@
        "nuke-viewchanges": "Used as link text.\n\nThe link points to History 
page of the page.\n\nThis message follows:\n* {{msg-mw|nuke-editby}} and 
{{msg-mw|comma-separator}}\n* or empty string (if username is 
empty).\n{{Identical|View changes}}",
        "nuke-namespace": "Label shown on [[Special:Nuke]] in front of the 
namespace input that allows choosing a namespace to filter the search by",
        "nuke-linkoncontribs": "Used as link text which is used on 
[[Special:Contributions]] and [[Special:DeletedContributions]].\n\nOnly added 
if a user has rights to nuke pages.\n\nThe link has the tooltip 
{{msg-mw|Nuke-linkoncontribs-text}}.\n{{Identical|Mass delete}}",
-       "nuke-linkoncontribs-text": "Tooltip for the link which is labeled 
{{msg-mw|Nuke-linkoncontribs}}."
+       "nuke-linkoncontribs-text": "Tooltip for the link which is labeled 
{{msg-mw|Nuke-linkoncontribs}} Parameters:\n* $1 is the target user name used 
for GENDER."
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/342304
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I245b3eca53cbc0f8459fb18ac1c78006d6ce385a
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Nuke
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to