Tooltips in preference page get double-escaped

bug: 53112
Change-Id: Ic39c807506334c3c5d8251384314c09ae96b3c3a
This commit is contained in:
bsitu 2013-08-20 13:39:05 -07:00
parent c4f29b9af9
commit b85615da7e

View file

@ -356,7 +356,7 @@ class EchoHooks {
$categoryMessage = wfMessage( 'echo-category-title-' . $category )->numParams( 1 )->escaped(); $categoryMessage = wfMessage( 'echo-category-title-' . $category )->numParams( 1 )->escaped();
$rows[$categoryMessage] = $category; $rows[$categoryMessage] = $category;
if ( isset( $wgEchoNotificationCategories[$category]['tooltip'] ) ) { if ( isset( $wgEchoNotificationCategories[$category]['tooltip'] ) ) {
$tooltips[$categoryMessage] = wfMessage( $wgEchoNotificationCategories[$category]['tooltip'] )->escaped(); $tooltips[$categoryMessage] = wfMessage( $wgEchoNotificationCategories[$category]['tooltip'] )->text();
} }
} }