From 93ab33e94013542a27e9fe95a0ee25d77c9929a1 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Mon, 26 Feb 2018 14:06:01 -0800 Subject: [PATCH] Special:Statistics: Be consistent in having ' (list of members)' after each row Change-Id: I7736c5fb6032f1b7e8a60b49d422435a8c8e4962 --- includes/specials/SpecialStatistics.php | 6 +++++- languages/i18n/en.json | 2 +- languages/i18n/qqq.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index a60549bf73..146e6e77de 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -168,7 +168,11 @@ class SpecialStatistics extends SpecialPage { Xml::tags( 'th', [ 'colspan' => '2' ], $this->msg( 'statistics-header-users' )->parse() ) . Xml::closeElement( 'tr' ) . - $this->formatRow( $this->msg( 'statistics-users' )->parse(), + $this->formatRow( $this->msg( 'statistics-users' )->parse() . ' ' . + $this->getLinkRenderer()->makeKnownLink( + SpecialPage::getTitleFor( 'ListUsers' ), + $this->msg( 'listgrouprights-members' )->text() + ), $this->getLanguage()->formatNum( $this->users ), [ 'class' => 'mw-statistics-users' ] ) . diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 168ce075cc..350c348c62 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1914,7 +1914,7 @@ "statistics-files": "Uploaded files", "statistics-edits": "Page edits since {{SITENAME}} was set up", "statistics-edits-average": "Average edits per page", - "statistics-users": "Registered [[Special:ListUsers|users]]", + "statistics-users": "Registered users", "statistics-users-active": "Active users", "statistics-users-active-desc": "Users who have performed an action in the last {{PLURAL:$1|day|$1 days}}", "statistics-footer": "", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index e7da4c68b8..c07c1fad65 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -2111,7 +2111,7 @@ "statistics-files": "Used in [[Special:Statistics]].\n{{Identical|Uploaded file}}", "statistics-edits": "Used in [[Special:Statistics]]", "statistics-edits-average": "Used in [[Special:Statistics]]", - "statistics-users": "{{doc-important|Do not translate \"Special:ListUsers\"}}\nUsed in [[Special:Statistics]].", + "statistics-users": "Used in [[Special:Statistics]].", "statistics-users-active": "Used in [[Special:Statistics]]", "statistics-users-active-desc": "Description shown beneath ''Active users'' in [[Special:Statistics]]. Parameters:\n* $1 - Value of $wgRCMaxAge in days", "statistics-footer": "{{notranslate}}", -- 2.20.1