Wikipedia:Bots/Requests for approval/ChrisSalij Bot 2


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol oppose vote.svg Withdrawn by operator.

ChrisSalij Bot 2
Operator:

Automatic or Manually assisted: Does not make changes

Programming language(s): Ruby

Source code available:

Function overview: This bot will be used in order to gather data for a summer research internship. (Full details in Function Details)

Links to relevant discussions (where appropriate): First Application

Edit period(s): One-Time Run

Estimated number of pages affected: None

Exclusion compliant (Y/N):

Already has a bot flag (Y/N): Y

Function details: In my Initial Application I didn't realise I needed to ask for the apihighlimit permission to be enabled on the account to get the maximum of 5000 results that I need. At the moment I am capped at 500.

The purpose of this request is to ask for the apihighlimit permission to be enabled on this bot account.

Discussion
All flagged bots have the apihighlimit permission, so your bot should already have it. Anomie⚔ 20:09, 17 June 2010 (UTC)
 * I've spent the morning testing my code throughly. I've done as it says in the first paragraph of the Limits section in the API doc and set the number of revisions to "max". This will return the maximum number of revisions my account is allowed to get. It returns 500 revisions when I am logged in as "ChrisSalij Bot" which is the max for users, it will return 50 if I am not logged in, which is the max for users which are not logged-in. This leads me to believe apihighlimits is not enabled on the account. ChrisSalij (talk) 12:48, 18 June 2010 (UTC)
 * The maximum when not logged in is the same as for logged-in users without apihighlimits. If you're getting 500 for the bot and 50 for a regular user, you must be performing a query that is considered "expensive". For example, including 'content' in rvprop for prop=revisions is considered expensive. Anomie⚔ 15:34, 18 June 2010 (UTC)
 * Note this is obliquely referred to in the documentation page you linked, where it states "Some modules impose stricter limits under certain conditions." Anomie⚔ 15:35, 18 June 2010 (UTC)
 * Ah yes now I know whats going on, thank you. That is exactly what I'm doing, I'm getting the text for each revision as I go back. I suppose this turned out to be more of a technical query than anything else. I suppose this request can be closed then. Thanks for the help. ChrisSalij (talk) 16:07, 18 June 2010 (UTC)
 * Ok, I will mark this Anomie⚔ 16:09, 18 June 2010 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.