r16879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16878‎ | r16879 | r16880 >
Date:00:38, 9 October 2006
Author:brion
Status:old
Tags:
Comment:
* Fix regression in Special:Watchlist text header
Don't HTML-escape text before you feed it to the wiki parser.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialWatchlist.php
@@ -273,7 +273,7 @@
274274 }
275275
276276 # TODO: Consider removing the third parameter
277 - $header .= wfMsgExt( 'watchdetails', array( 'parsemag', 'escape'), $wgLang->formatNum( $nitems ),
 277+ $header .= wfMsgExt( 'watchdetails', array( 'parsemag' ), $wgLang->formatNum( $nitems ),
278278 $wgLang->formatNum( $npages ), '',
279279 $specialTitle->getFullUrl( 'edit=yes' ) );
280280 $wgOut->addWikiText( $header );
Index: trunk/phase3/RELEASE-NOTES
@@ -274,6 +274,7 @@
275275 * (bug 7459) Magic word variables are always case sensitive
276276 * Made messages used in Special:Preferences either plain text or wikitext (toggles)
277277 * Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files
 278+* Fix regression in Special:Watchlist text header
278279
279280
280281 == Languages updated ==