Escape parentheses message on watchlist pages
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Sat, 6 Dec 2014 09:48:23 +0000 (10:48 +0100)
committerNikerabbit <niklas.laxstrom@gmail.com>
Sun, 14 Dec 2014 11:55:07 +0000 (11:55 +0000)
Change-Id: Ie9943d7da81d16fcd95558f681af68ef9d392bfe

includes/specials/SpecialEditWatchlist.php

index 50a52b8..ffe7892 100644 (file)
@@ -760,7 +760,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage {
                return Html::rawElement(
                        'span',
                        array( 'class' => 'mw-watchlist-toollinks' ),
-                       wfMessage( 'parentheses', $wgLang->pipeList( $tools ) )->text()
+                       wfMessage( 'parentheses' )->rawParams( $wgLang->pipeList( $tools ) )->escaped()
                );
        }
 }