Special:Statistics: Be consistent in having ' (list of members)' after each row
authorJames D. Forrester <jforrester@wikimedia.org>
Mon, 26 Feb 2018 22:06:01 +0000 (14:06 -0800)
committerKrinkle <krinklemail@gmail.com>
Tue, 17 Apr 2018 21:24:11 +0000 (21:24 +0000)
Change-Id: I7736c5fb6032f1b7e8a60b49d422435a8c8e4962

includes/specials/SpecialStatistics.php
languages/i18n/en.json
languages/i18n/qqq.json

index a60549b..146e6e7 100644 (file)
@@ -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' ]
                        ) .
index 168ce07..350c348 100644 (file)
        "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": "",
index e7da4c6..c07c1fa 100644 (file)
        "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 <code>$wgRCMaxAge</code> in days",
        "statistics-footer": "{{notranslate}}",