Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258445

Change subject: Use GAID_FOR_UPDATE for getArticleID() in LinksUpdate
......................................................................

Use GAID_FOR_UPDATE for getArticleID() in LinksUpdate

Bug: T121228
Change-Id: I33addea4261d58cc93ab739621481065eb9c908d
---
M includes/deferred/LinksUpdate.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/45/258445/1

diff --git a/includes/deferred/LinksUpdate.php 
b/includes/deferred/LinksUpdate.php
index 755a7cd..3021af1 100644
--- a/includes/deferred/LinksUpdate.php
+++ b/includes/deferred/LinksUpdate.php
@@ -91,7 +91,7 @@
                parent::__construct( false ); // no implicit transaction
 
                $this->mTitle = $title;
-               $this->mId = $title->getArticleID();
+               $this->mId = $title->getArticleID( Title::GAID_FOR_UPDATE );
 
                if ( !$this->mId ) {
                        throw new InvalidArgumentException(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33addea4261d58cc93ab739621481065eb9c908d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: 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