r105269 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105268‎ | r105269 | r105270 >
Date:01:21, 6 December 2011
Author:tstarling
Status:ok
Tags:
Comment:
Fix for r103471: WikiPage::doSubmit() is not the only implementation of doSubmit() that needs to be patched to return true. Without this, action=purge on an image page just shows a blank body.
Modified paths:
  • /trunk/phase3/includes/WikiFilePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WikiFilePage.php
@@ -163,6 +163,6 @@
164164 // to be updated (in case the cached information is wrong)
165165 $this->mFile->purgeCache( array( 'forRefresh' => true ) );
166166 }
167 - parent::doPurge();
 167+ return parent::doPurge();
168168 }
169169 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103471Apply cryptocoryne's patch from Bug 32454 - ArticlePurge hook is broken after...mah16:00, 17 November 2011

Status & tagging log