ApiQueryRecentChanges: Fetch comment fields if rctoken is used
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Sep 2017 20:58:57 +0000 (16:58 -0400)
committerChad <chadh@wikimedia.org>
Thu, 7 Sep 2017 21:11:39 +0000 (21:11 +0000)
commit14e55e80a7b17a2b522193ad94dbf06e1bafdc91
tree577d706432a33bdc2287ee20ab92d4d160538564
parente3c9da4f6acea132eea78279d88a179800d40e32
ApiQueryRecentChanges: Fetch comment fields if rctoken is used

When the deprecated rctoken parameter is used, the module calls
RecentChange::newFromRow(), which now requires that the comment fields
be present.

Bug: T175307
Change-Id: Ida025f419e43809c34fff386f1a1ee8881393b80
(cherry picked from commit 5ec0132821f4dca98a53b466a3d35b7a2853c616)
includes/api/ApiQueryRecentChanges.php