X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fpage%2FWikiPage.php;h=69b675b462010d296635ce860e9f69eb462067c1;hp=069896c303beca6f166f8211072b4f167a46ccaf;hb=59ebff658ce912c1b0e7ef8d8f9bfec5a4e17b39;hpb=96747e81e25ecbec990954637ea2516075782236 diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 069896c303..69b675b462 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -2854,7 +2854,7 @@ class WikiPage implements Page, IDBAccessObject { // Clone the title, so we have the information we need when we log $logTitle = clone $this->mTitle; - // Log the deletion, if the page was suppressed, log it at Oversight instead + // Log the deletion, if the page was suppressed, put it in the suppression log instead $logtype = $suppress ? 'suppress' : 'delete'; $logEntry = new ManualLogEntry( $logtype, 'delete' ); @@ -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 ); } );