WMDE-Fisch has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332761 )

Change subject: Add bdi tags around usernames
......................................................................

Add bdi tags around usernames

Sadly this does not work with the pseudo-elements. So I left it
untouched.

Change-Id: I2643eccbd5cc22bd476a1efc060cbe5b8fba8e19
---
M includes/TwoColConflictPage.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwoColConflict 
refs/changes/61/332761/1

diff --git a/includes/TwoColConflictPage.php b/includes/TwoColConflictPage.php
index 477d13d..3589e96 100644
--- a/includes/TwoColConflictPage.php
+++ b/includes/TwoColConflictPage.php
@@ -89,9 +89,9 @@
                $currentUser = $this->context->getUser();
 
                $lastUser =
-                       '<span class="mw-twocolconflict-lastuser">' .
+                       '<span class="mw-twocolconflict-lastuser"><bdi>' .
                        $this->mArticle->getPage()->getUserText() .
-                       '</span>';
+                       '</bdi></span>';
                $lastChangeTime = 
$this->getContext()->getLanguage()->userTimeAndDate(
                        $this->getArticle()->getPage()->getTimestamp(),
                        $currentUser
@@ -176,7 +176,7 @@
         * @return string
         */
        private function buildConflictPageEditorCol() {
-               $lastUser = $this->getArticle()->getPage()->getUserText();
+               $lastUser = '<bdi>' . 
$this->getArticle()->getPage()->getUserText() . '</bdi>';
                $lastChangeTime = 
$this->getArticle()->getPage()->getTimestamp();
                $lastChangeTime = 
$this->context->getLanguage()->userTimeAndDate(
                        $lastChangeTime, $this->context->getUser()

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2643eccbd5cc22bd476a1efc060cbe5b8fba8e19
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwoColConflict
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <[email protected]>

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

Reply via email to