Jkroll has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/391582 )

Change subject: Add placeholder for title tags to the moved indicators
......................................................................

Add placeholder for title tags to the moved indicators

Bug: T180602
Change-Id: I62a85e5456076a86929b14cd6fff2866505e9642
---
M TableDiff.cpp
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/php/wikidiff2 
refs/changes/82/391582/1

diff --git a/TableDiff.cpp b/TableDiff.cpp
index 964f1c8..3914811 100644
--- a/TableDiff.cpp
+++ b/TableDiff.cpp
@@ -39,7 +39,7 @@
        if (printLeft) {
                result += "  <td class=\"diff-marker\">";
                if(dstAnchor != "")
-                       result += "<a class=\"mw-diff-movedpara-left\" 
href=\"#" + dstAnchor + "\">&#x26AB;</a>";
+                       result += "<a class=\"mw-diff-movedpara-left\" 
href=\"#" + dstAnchor + "\" data-title-tag=\"new\">&#x26AB;</a>";
                else
                        result += "−";
                result += "</td>\n";
@@ -56,7 +56,7 @@
        if (printRight) {
                result += "  <td class=\"diff-marker\">";
                if(dstAnchor != "")
-                       result += "<a class=\"mw-diff-movedpara-right\" 
href=\"#" + dstAnchor + "\">&#x26AB;</a>";
+                       result += "<a class=\"mw-diff-movedpara-right\" 
href=\"#" + dstAnchor + "\" data-title-tag=\"old\">&#x26AB;</a>";
                else
                        result += "+";
                result += "</td>\n";

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I62a85e5456076a86929b14cd6fff2866505e9642
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/php/wikidiff2
Gerrit-Branch: master
Gerrit-Owner: Jkroll <[email protected]>

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

Reply via email to