jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/376565 )

Change subject: Do not use deprecated fallback handling for 
History/Contributions
......................................................................


Do not use deprecated fallback handling for History/Contributions

The Contributions page extends the History page so this change
also fixes the warnings there.

Bug: T175161
Change-Id: Ia79d6e72c185fb3ffd47d62a0dc5342b31382294
---
M includes/specials/SpecialMobileHistory.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialMobileHistory.php 
b/includes/specials/SpecialMobileHistory.php
index 08193ca..3a1dc5d 100644
--- a/includes/specials/SpecialMobileHistory.php
+++ b/includes/specials/SpecialMobileHistory.php
@@ -157,7 +157,7 @@
                $options['LIMIT'] = self::LIMIT + 1;
 
                $tables = [ self::DB_REVISIONS_TABLE ];
-               $fields = [ '*' ];
+               $fields = Revision::selectFields();
 
                $res = $dbr->select( $tables, $fields, $conds, __METHOD__, 
$options );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia79d6e72c185fb3ffd47d62a0dc5342b31382294
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: wmf/1.30.0-wmf.17
Gerrit-Owner: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to