In Title::resetArticleID(), clear all entries in the LinkCache instead of just the...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 1 Sep 2011 09:23:20 +0000 (09:23 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 1 Sep 2011 09:23:20 +0000 (09:23 +0000)
includes/Title.php

index 56713cd..023b3d8 100644 (file)
@@ -2552,7 +2552,7 @@ class Title {
         */
        public function resetArticleID( $newid ) {
                $linkCache = LinkCache::singleton();
-               $linkCache->clearBadLink( $this->getPrefixedDBkey() );
+               $linkCache->clearLink( $this );
 
                if ( $newid === false ) {
                        $this->mArticleID = -1;