* @return Bool true if the update succeded
*/
public function invalidateCache() {
+ global $wgMemc;
if ( wfReadOnly() ) {
return false;
}
__METHOD__
);
HTMLFileCache::clearFileCache( $this );
+
+ // Clear page info.
+ $revision = WikiPage::factory( $this )->getRevision();
+ if( $revision !== null ) {
+ $memcKey = wfMemcKey( 'infoaction', $this->getPrefixedText(), $revision->getId() );
+ $success = $success && $wgMemc->delete( $memcKey );
+ }
+
return $success;
}