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 @@
164
164
// to be updated (in case the cached information is wrong)
165
165
$this->mFile->purgeCache( array( 'forRefresh' => true ) );
166
166
}
167
- parent::doPurge();
167
+ return parent::doPurge();
168
168
}
169
169
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r103471
Apply cryptocoryne's patch from
Bug 32454
- ArticlePurge hook is broken after...
mah
16:00, 17 November 2011
Status & tagging log
18:36, 6 December 2011
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r105269
[
removed:
new
added:
ok]