Wikipedia:Bots/Requests for approval/sys


 * 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

sys
Operator:

Time filed: 10:06, Thursday, November 1, 2018 (UTC)

Function overview: Get pages revisions from wikimedia API (for instance: /w/api.php?&action=query&assert=bot&format=xml&prop=revisions&pageids=3197961&rvprop=ids|timestamp|content|size|roles|userid|user|flags&rvslots=main&rvlimit=max)

Automatic, Supervised, or Manual: Not edit will be made. The bot only needs to read.

Programming language(s): Java

Source code available: No source code available

Links to relevant discussions (where appropriate): No relevant discussion

Edit period(s): No edit will be made. Queries will be on a daily frequency.

Estimated number of pages affected: 5'000

Namespace(s): No edit.

Exclusion compliant (Yes/No):Yes

Function details: The bot will not edit pages. It will use the mediawiki API has following:

1. Get token: /w/api.php?action=query&format=xml&meta=tokens&type=login

2. Login: /w/api.php?action=login&format=xml&lgname=botIdentifier&lgpassword=botPassowrd&lgtoken=tokenFromStep1

3. Get maximum number of revisions for multiple pages (5'000 when login as a bot): /w/api.php?&action=query&assert=bot&format=xml&prop=revisions&pageids=3197961&rvprop=ids|timestamp|content|size|roles|userid|user|flags&rvslots=main&rvlimit=max

Discussion
There seems to be no reason you need  for this task, and you've not made any other edits so there's no evidence you have the understanding of the English Wikipedia's policies and guidelines that is required of a bot operator (see WP:BOTNOTNOW). You might also see mw:API:Query. Anomie⚔ 11:55, 1 November 2018 (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.