Rohan013 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/150201

Change subject: Fix Special:Listusers i18n issues
......................................................................

Fix Special:Listusers i18n issues

* Changed hard coded brackets to use message 'brackets'
* Changed hard coded space to use message 'word-separator'

Bug: 39845
Change-Id: If117e8f1b2436ed1d259add92fc8f6925403afc3
---
M includes/specials/SpecialListusers.php
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/01/150201/1

diff --git a/includes/specials/SpecialListusers.php 
b/includes/specials/SpecialListusers.php
index 53dddc7..4cfc4f5 100644
--- a/includes/specials/SpecialListusers.php
+++ b/includes/specials/SpecialListusers.php
@@ -194,9 +194,8 @@
                global $wgEdititis;
                if ( !$this->including && $wgEdititis ) {
                        // @todo fixme i18n issue: Hardcoded square brackets.
-                       $edits = ' [' .
-                               $this->msg( 'usereditcount' )->numParams( 
$row->edits )->escaped() .
-                               ']';
+                       $count = $this->msg( 'usereditcount' )->numParams( 
$row->edits )->escaped();
+                       $edits = $this->msg( 'word-separator' )->escaped() . 
$this->msg( 'brackets', $count );
                }
 
                $created = '';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If117e8f1b2436ed1d259add92fc8f6925403afc3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Rohan013 <rohan1...@yahoo.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to