Aude has uploaded a new change for review.

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

Change subject: Fix undefined rc_new index during ChangeNotification jobs
......................................................................

Fix undefined rc_new index during ChangeNotification jobs

needed since Ie3849f5df8bc4f98d668ed024a052523357d3514

Bug: T145624
Change-Id: I4f2969113181870db26257ffb75af100a0ef2c85
(cherry picked from commit 337a02f4860d194c20e5557cd2c6f1b1b372ea9e)
---
M client/includes/RecentChanges/RecentChangeFactory.php
M client/tests/phpunit/includes/RecentChanges/RecentChangeFactoryTest.php
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/43/311443/1

diff --git a/client/includes/RecentChanges/RecentChangeFactory.php 
b/client/includes/RecentChanges/RecentChangeFactory.php
index 2cbd164..316c645 100644
--- a/client/includes/RecentChanges/RecentChangeFactory.php
+++ b/client/includes/RecentChanges/RecentChangeFactory.php
@@ -133,6 +133,7 @@
                        'rc_log_action' => '',
                        'rc_source' => self::SRC_WIKIBASE,
                        'rc_deleted' => false,
+                       'rc_new' => false,
                );
        }
 
diff --git 
a/client/tests/phpunit/includes/RecentChanges/RecentChangeFactoryTest.php 
b/client/tests/phpunit/includes/RecentChanges/RecentChangeFactoryTest.php
index a3d3ca4..affc9f9 100644
--- a/client/tests/phpunit/includes/RecentChanges/RecentChangeFactoryTest.php
+++ b/client/tests/phpunit/includes/RecentChanges/RecentChangeFactoryTest.php
@@ -165,6 +165,7 @@
                        'rc_log_type' => null,
                        'rc_source' => RecentChangeFactory::SRC_WIKIBASE,
                        'rc_deleted' => false,
+                       'rc_new' => false,
                );
 
                $preparedAttr = array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f2969113181870db26257ffb75af100a0ef2c85
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.28.0-wmf.18
Gerrit-Owner: Aude <aude.w...@gmail.com>

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

Reply via email to