Bumped up limits for history edit count endpoint for all edits, bot edits, anon edits, editors, and reverted edits
Bug: T238380
Change-Id: I1da771d4cadbc0c280935ecfca800e382cd1629f
Removing the quotes makes this query about a million times faster, for
unclear reasons.
I also have a patch to addQuotes(), but it should be possible to merge
this hack faster.
Bug: T238378
Change-Id: I4ba6d8ba02233aca91ae2e7a4e6ec7f5a316214a
* Move Title::{get,count}AuthorsBetween to RevisionStore
* Use it in REST count handler to to provide 'from' and 'to'
support for editors count.
Bug: T235896
Bug: T235666
Change-Id: Ib7947ae64b82871ceb4a3097a0ea03c0ba218c7c
* Add 'from' and 'to' query parameters to history count endpoint,
in case we are counting 'edits'. The support for parameters will be
expanded in the future, given that 'editors' is on the way.
* Refactor RevisionStore::countRevisionsBetween to be able to omit
starting or ending revision.
Bug: T235666
Change-Id: I1fc3f2d4e422f17ccfc99664ea35e210c13ade5f
Add "minor" as an allowed value for the count type parameter
in PageHistoryCountHandler.php
Bug: T235587
Change-Id: I31cf37a28c62efa98d719d386001e560ca5dd188
For consistency with the history endpoint, the following REST
history count types will be renamed. The old names will continue
to function for now, but will return a Deprecation header, plus
a Link header pointing to the REST API endpoint documentation:
anonedits => anonymous
botedits => bot
revertededits => reverted
Bug: T234941
Bug: T236323
Bug: T236324
Bug: T236325
Change-Id: Ice84bd93cbc9c33a5ae67a16094104eef919cb7b