r59434 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59433‎ | r59434 | r59435 >
Date:19:57, 25 November 2009
Author:ialex
Status:ok
Tags:
Comment:
Set the Title object to the new $wgOut in SpecialPage::capturePath()
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -574,6 +574,7 @@
575575 $oldTitle = $wgTitle;
576576 $oldOut = $wgOut;
577577 $wgOut = new OutputPage;
 578+ $wgOut->setTitle( $title );
578579
579580 $ret = SpecialPage::executePath( $title, true );
580581 if ( $ret === true ) {

Status & tagging log