Add "minor" as an allowed filter type in PageHistoryHandler.php,
to retrieve only revisions flagged as minor edits
Bug: T235660
Change-Id: Ia2886e979c5cdb1c742149c23ba90474ae5a0ed1
Some of the errors are suppressed because they're phan false positives.
The idea behind this is that they'll be fixed in a future version of
phan, and we'll just have to remove the suppressions.
Note: I'm disabling UnusedPluginSuppression so that we can start suppressing
issues even if they're still disabled. The sniff should be re-enabled
as soon as we upgrade phan.
Bug: T231636
Change-Id: I0f7fa06a9e03fbb86c7a5eb6e50a850bb258a7f7
- Improve access checks for history,compare,revision handlers.
- Ensure that null is not returned in place of empty string
Bug: T235146
Bug: T231588
Bug: T235560
Change-Id: I2a15c7577fe67055367147c4f6b982c9fcdf8535
Fix/improve several issues with the page history handler:
- recognize the logged in user's permissions
- fixes to the "bot" filter query
- fixes to error message construction
- remove extaneous space in response data construction
Bug: T235146
Change-Id: I5364a8a7d7492ab48e1dc84db0880475177dabd3
Handler to return page history via the Core REST API.
Includes two parameters for pagination:
older_than
newer_than
Also includes a "filter" parameter with possible values:
bot
anonymous
reverted
Bug: T231558
Bug: T231597
Change-Id: Ie35d8be6c96b468794f8acf80a5fb50e4cd17c3c