r31823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31822‎ | r31823 | r31824 >
Date:21:59, 11 March 2008
Author:brion
Status:old
Tags:
Comment:
Fix fatal error in Special:Export -- invalid title when using Template inclusion
Modified paths:
  • /trunk/phase3/includes/SpecialExport.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialExport.php
@@ -83,8 +83,8 @@
8484 $dbr = wfGetDB( DB_SLAVE );
8585 foreach( $inputPages as $page ) {
8686 $title = Title::newFromText( $page );
87 - $pageSet[$title->getPrefixedText()] = true;
8887 if( $title ) {
 88+ $pageSet[$title->getPrefixedText()] = true;
8989 /// @fixme May or may not be more efficient to batch these
9090 /// by namespace when given multiple input pages.
9191 $result = $dbr->select(

Follow-up revisions

RevisionCommit summaryAuthorDate
r31824Merge r31823 from trunk -- fix for Special:Export fatal erorrbrion22:00, 11 March 2008

Status & tagging log