You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a way to limit the maximum number of revisions that can be requested from ORES. Right now, ORES will try to deal with as many revids as you can fit in the URL.
The text was updated successfully, but these errors were encountered:
Based on this StackOverflow question, the maximum URL length is around 2000 characters. So, theoretically, we can put around 175 revids in the request:
For each revid, it will take 11 characters:
The revid in wikidatawiki (the wiki with longest dbname that is supposed by ORES) requires 9 characters, and I expect it to grow to 10 characters in near future;
plus 1 character for the separator in the request (|)
The base URL to make the ORES call requires 74 characters: https://ores.wikimedia.org/v3/scores/wikidatawiki/?models=damaging&revids=
So, (2000 - 74) / 11 ≈ 175
Anyway, what's the maximum number of revids do you recommend in one ORES query? Is there a timeout or caching concern for making such huge request?
There should be a way to limit the maximum number of revisions that can be requested from ORES. Right now, ORES will try to deal with as many revids as you can fit in the URL.
The text was updated successfully, but these errors were encountered: