dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ed4a809
)
Merge "Moved onArticleEdit() lines around for clarity"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 27 Aug 2015 09:36:34 +0000
(09:36 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 27 Aug 2015 09:36:34 +0000
(09:36 +0000)
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
069896c
..
657c4d0
100644
(file)
--- a/
includes/page/WikiPage.php
+++ b/
includes/page/WikiPage.php
@@
-3225,10
+3225,10
@@
class WikiPage implements Page, IDBAccessObject {
// Purge squid for this page only
$title->purgeSquid();
-
- $revid = $revision ? $revision->getId() : null;
// Clear file cache for this page only
HTMLFileCache::clearFileCache( $title );
+
+ $revid = $revision ? $revision->getId() : null;
DeferredUpdates::addCallableUpdate( function() use ( $title, $revid ) {
InfoAction::invalidateCache( $title, $revid );
} );