Aude has uploaded a new change for review.
https://gerrit.wikimedia.org/r/263921
Change subject: Fix undefined property notice in ChangesList
......................................................................
Fix undefined property notice in ChangesList
This comes from ApiQueryWatchlist, which calls
ChangesList::isUnpatrolled with recent change row entries.
Since If71af587, rc_log_type is now needed along with rc_patrolled.
Bug: T123542
Change-Id: If6507121e59c53df925998f383c9bdf8f2936e37
---
M includes/api/ApiQueryWatchlist.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/21/263921/1
diff --git a/includes/api/ApiQueryWatchlist.php
b/includes/api/ApiQueryWatchlist.php
index 75fc33e..9faf5b8 100644
--- a/includes/api/ApiQueryWatchlist.php
+++ b/includes/api/ApiQueryWatchlist.php
@@ -106,6 +106,7 @@
$this->addFieldsIf( 'rc_user_text', $this->fld_user );
$this->addFieldsIf( 'rc_comment', $this->fld_comment ||
$this->fld_parsedcomment );
$this->addFieldsIf( 'rc_patrolled', $this->fld_patrol );
+ $this->addFieldsIf( 'rc_log_type', $this->fld_patrol );
$this->addFieldsIf( array( 'rc_old_len', 'rc_new_len'
), $this->fld_sizes );
$this->addFieldsIf( 'wl_notificationtimestamp',
$this->fld_notificationtimestamp );
$this->addFieldsIf(
--
To view, visit https://gerrit.wikimedia.org/r/263921
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If6507121e59c53df925998f383c9bdf8f2936e37
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits