r112873 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112872‎ | r112873 | r112874 >
Date:04:52, 2 March 2012
Author:tstarling
Status:ok
Tags:
Comment:
(bug 34832) Parse recentchangestext with the interface option off, since it comes from wfMsgForContent()
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRecentchanges.php
@@ -634,10 +634,13 @@
635635 function setTopText( FormOptions $opts ) {
636636 global $wgContLang;
637637 $this->getOutput()->addWikiText(
638 - Html::rawElement( 'p',
639 - array( 'lang' => $wgContLang->getCode(), 'dir' => $wgContLang->getDir() ),
640 - "\n" . wfMsgForContentNoTrans( 'recentchangestext' ) . "\n"
641 - ), false );
 638+ Html::rawElement( 'p',
 639+ array( 'lang' => $wgContLang->getCode(), 'dir' => $wgContLang->getDir() ),
 640+ "\n" . wfMsgForContentNoTrans( 'recentchangestext' ) . "\n"
 641+ ),
 642+ /* $lineStart */ false,
 643+ /* $interface */ false
 644+ );
642645 }
643646
644647 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r113024Transitional patch for bug 34832: introduce a CI-style option to allow deploy...tstarling12:14, 5 March 2012
r113119MFT r112872, r112873, r113001, r113024: language converter fixeststarling02:09, 6 March 2012
r113157MFT r112563, r112566, r112838, r112872, r112873, r112988, r113001, r113024, r...reedy17:36, 6 March 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112872Fix for r86304: if MessageCache::parse() is called twice, once with $interfac...tstarling04:00, 2 March 2012

Status & tagging log