Page MenuHomePhabricator

Add support for "1000" limit if user has apihighlimits right
Open, LowPublic

Description

Originally created by Reza @reza1615@github.com at https://github.com/Krinkle/mw-gadget-rtrc/issues/73 on 25 Oct 2017

Please increase top limitation from 500 to 1000

@Krinkle commented on 26 Oct 2017:

Hi Reza,
Thank you for using RTRC!

About your request, the maximum is not decided by RTRC. It is actually decided by the wiki software (MediaWiki). And for most queries, the limit is 500 results.

https://www.mediawiki.org/wiki/API:Lists#Limits https://en.wikipedia.org/w/api.php?action=help&modules=query%2Brecentchanges (see rclimit)

This is the same as for when you viewing a query page on the wiki, such as https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&action=history.

For bot accounts, the limit is 5000.

Reza commented on 26 Oct 2017:

also at https://www.mediawiki.org/wiki/API:Lists#Limits mentioned "5000 for users with the apihighlimits right (typically bots and sysops)" at least we can have up to 5000 for sysops. I checked at local wiki. as I am sysop it shows up to 5000 results.

@Krinkle commented on 26 Oct 2017

Okay, I suppose we could make it conditional on a particular user right. RTRC already does this for control fields that depend on the patrol user right, for example.