EBernhardson has uploaded a new change for review.

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


Change subject: Properly escape messages used in anchors in RC
......................................................................

Properly escape messages used in anchors in RC

Change-Id: I6696157e1a3de43223603f4652d3d6e33ecd260a
---
M includes/RecentChanges/Formatter.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/70/99170/1

diff --git a/includes/RecentChanges/Formatter.php 
b/includes/RecentChanges/Formatter.php
index af02616..cd97afe 100644
--- a/includes/RecentChanges/Formatter.php
+++ b/includes/RecentChanges/Formatter.php
@@ -188,7 +188,7 @@
                                        array( 'workflow' => 
$changeData['workflow'] )
                                ),
                        ),
-                       wfMessage( 'flow-link-history' )->text()
+                       wfMessage( 'flow-link-history' )->escaped()
                );
        }
 
@@ -205,7 +205,7 @@
                                        )
                                ),
                        ),
-                       wfMessage( 'flow-link-history' )->text()
+                       wfMessage( 'flow-link-history' )->escaped()
                );
        }
 
@@ -219,7 +219,7 @@
                                        array( 'workflow' => 
$changeData['workflow'] )
                                ),
                        ),
-                       wfMessage( 'flow-link-topic' )->text()
+                       wfMessage( 'flow-link-topic' )->escaped()
                );
        }
 
@@ -236,7 +236,7 @@
                                        )
                                ),
                        ),
-                       wfMessage( 'flow-link-post' )
+                       wfMessage( 'flow-link-post' )->escaped()
                );
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6696157e1a3de43223603f4652d3d6e33ecd260a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>

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

Reply via email to