Restore the newFromId() approach in SpecialNewpages::feedItemDesc
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 17 Aug 2017 20:53:01 +0000 (13:53 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 17 Aug 2017 21:28:22 +0000 (14:28 -0700)
commitf45b40fe531a8fa5324ebf4bc8a803ff694b044f
tree2e139ae485b606bdbdf3bcc17ea96b8869e087f2
parent9c679cf7c94289d1a48ab5b74af8bea89c5219bc
Restore the newFromId() approach in SpecialNewpages::feedItemDesc

Trying to use the row data is problematic since the text related
fields are missing. This fixing a regression from 4475e1c8c.

Also make SpecialNewpages::feedItemDesc() handle null content.

Bug: T173541
Change-Id: I2213675d3392c6e9761bdc7acde35fd1caee4517
includes/specials/SpecialNewpages.php