jenkins-bot has submitted this change and it was merged. Change subject: Properly handle interwiki in FlowUpdateRevisionContentLength ......................................................................
Properly handle interwiki in FlowUpdateRevisionContentLength Bug: T61138 Change-Id: If5971449888e743f5bcd8ef56dcb5fd3b4dfc71b --- M maintenance/FlowUpdateRevisionContentLength.php 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Matthias Mullie: Looks good to me, approved jenkins-bot: Verified diff --git a/maintenance/FlowUpdateRevisionContentLength.php b/maintenance/FlowUpdateRevisionContentLength.php index 4ad119e..c9cbdae 100644 --- a/maintenance/FlowUpdateRevisionContentLength.php +++ b/maintenance/FlowUpdateRevisionContentLength.php @@ -81,9 +81,11 @@ $this->mBatchSize ); // Only fetch rows with current and previous content length set to 0 + // created by users from the current wiki. $it->addConditions( array( 'rev_content_length' => 0, 'rev_previous_content_length' => 0, + 'rev_user_wiki' => wfWikiId(), ) ); // We only need the id and type field $it->setFetchColumns( array( 'rev_id', 'rev_type' ) ); -- To view, visit https://gerrit.wikimedia.org/r/192000 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If5971449888e743f5bcd8ef56dcb5fd3b4dfc71b Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> Gerrit-Reviewer: Matthias Mullie <mmul...@wikimedia.org> Gerrit-Reviewer: SG <shah...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits