Amire80 has uploaded a new change for review.

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

Change subject: Bidi-isolate revisions count in Special:Import
......................................................................

Bidi-isolate revisions count in Special:Import

Change-Id: I3aacc10dd76aba9f4315db284a4bafe629219bc1
---
M includes/specials/SpecialImport.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/99/284999/1

diff --git a/includes/specials/SpecialImport.php 
b/includes/specials/SpecialImport.php
index fe1dd98..c58af60 100644
--- a/includes/specials/SpecialImport.php
+++ b/includes/specials/SpecialImport.php
@@ -594,9 +594,13 @@
                $this->mPageCount++;
 
                if ( $successCount > 0 ) {
+                       // <bdi> prevents jumbling of the versions count
+                       // in RTL wikis in case the page title is LTR
                        $this->getOutput()->addHTML(
                                "<li>" . Linker::linkKnown( $title ) . " " .
+                                       "<bdi>" .
                                        $this->msg( 'import-revision-count' 
)->numParams( $successCount )->escaped() .
+                                       "</bdi>" .
                                        "</li>\n"
                        );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3aacc10dd76aba9f4315db284a4bafe629219bc1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>

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

Reply via email to