Chad has uploaded a new change for review. ( 
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, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/65/376565/1

diff --git a/includes/specials/SpecialMobileHistory.php 
b/includes/specials/SpecialMobileHistory.php
index 08193ca..d2dd152 100644
--- a/includes/specials/SpecialMobileHistory.php
+++ b/includes/specials/SpecialMobileHistory.php
@@ -2,6 +2,7 @@
 /**
  * SpecialMobileHistory.php
  */
+use \Revision;
 
 /**
  * Mobile formatted history of of a page
@@ -157,7 +158,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: newchange
Gerrit-Change-Id: Ia79d6e72c185fb3ffd47d62a0dc5342b31382294
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: wmf/1.30.0-wmf.17
Gerrit-Owner: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>

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

Reply via email to