Merge "Do an HTMLCacheUpdate of templatelinks on page creation"
This commit is contained in:
commit
c7dfa9dedc
1 changed files with 3 additions and 0 deletions
|
|
@ -3252,6 +3252,9 @@ class WikiPage implements Page, IDBAccessObject {
|
|||
|
||||
MediaWikiServices::getInstance()->getLinkCache()->invalidateTitle( $title );
|
||||
|
||||
// Invalidate caches of articles which include this page
|
||||
DeferredUpdates::addUpdate( new HTMLCacheUpdate( $title, 'templatelinks' ) );
|
||||
|
||||
if ( $title->getNamespace() == NS_CATEGORY ) {
|
||||
// Load the Category object, which will schedule a job to create
|
||||
// the category table row if necessary. Checking a replica DB is ok
|
||||
|
|
|
|||
Loading…
Reference in a new issue