Aaron Schulz has submitted this change and it was merged.

Change subject: Revert "Remove the page from the LinkCache before adding it 
again in WikiPage::loadFromRow()"
......................................................................


Revert "Remove the page from the LinkCache before adding it again in 
WikiPage::loadFromRow()"

Possibly related to bug 46427.

This reverts commit db4e7efd9286bbf306baef6d157c4179954772f2

Change-Id: I097c922650d13aafee5cc52cd82cdfc8fe8c3436
---
M includes/WikiPage.php
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Aaron Schulz: Verified; Looks good to me, approved



diff --git a/includes/WikiPage.php b/includes/WikiPage.php
index de881ef..8681f50 100644
--- a/includes/WikiPage.php
+++ b/includes/WikiPage.php
@@ -371,7 +371,6 @@
         */
        public function loadFromRow( $data, $from ) {
                $lc = LinkCache::singleton();
-               $lc->clearLink( $this->mTitle );
 
                if ( $data ) {
                        $lc->addGoodLinkObjFromRow( $this->mTitle, $data );

-- 
To view, visit https://gerrit.wikimedia.org/r/55388
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I097c922650d13aafee5cc52cd82cdfc8fe8c3436
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.21wmf12
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to