Defer the InfoAction purge in onArticleEdit()
Change-Id: I73fba15c26c12bea1abad219611e660fb3901a86
This commit is contained in:
parent
8f6aeac5d7
commit
0452855044
1 changed files with 3 additions and 1 deletions
|
|
@ -3226,7 +3226,9 @@ class WikiPage implements Page, IDBAccessObject {
|
|||
|
||||
// Clear file cache for this page only
|
||||
HTMLFileCache::clearFileCache( $title );
|
||||
InfoAction::invalidateCache( $title );
|
||||
DeferredUpdates::addCallableUpdate( function() use ( $title ) {
|
||||
InfoAction::invalidateCache( $title );
|
||||
} );
|
||||
}
|
||||
|
||||
/**#@-*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue