Page MenuHomePhabricator

Incomplete output of sysop user list on Telugu Wikipedia when using API
Closed, InvalidPublicBUG REPORT

Description

I was trying to get list of sysops on Telugu Wikipedia using the API's query module. The output from the API is different from that actual list of sysops (commonly called admins)

List of admins using the special page: https://te.wikipedia.org/wiki/%E0%B0%AA%E0%B1%8D%E0%B0%B0%E0%B0%A4%E0%B1%8D%E0%B0%AF%E0%B1%87%E0%B0%95:%E0%B0%B5%E0%B0%BE%E0%B0%A1%E0%B1%81%E0%B0%95%E0%B0%B0%E0%B1%81%E0%B0%B2%E0%B0%9C%E0%B0%BE%E0%B0%AC%E0%B0%BF%E0%B0%A4%E0%B0%BE/sysop

API output (action=query&format=json&list=allusers&augroup=sysop)
https://te.wikipedia.org/wiki/%E0%B0%AA%E0%B1%8D%E0%B0%B0%E0%B0%A4%E0%B1%8D%E0%B0%AF%E0%B1%87%E0%B0%95:ApiSandbox#action=query&format=json&list=allusers&augroup=sysop

The API output is breaking at "దురుపయోగాల జల్లెడ" (with reference to Special:ListAdmins), and the remaining admins are not in output.

దురుపయోగాల జల్లెడ translates to "Abuse Filter" and is a red link.

The issue also persists in the output of aurights=block, instead of augroup=sysop: https://te.wikipedia.org/wiki/%E0%B0%AA%E0%B1%8D%E0%B0%B0%E0%B0%A4%E0%B1%8D%E0%B0%AF%E0%B1%87%E0%B0%95:ApiSandbox#action=query&format=json&list=allusers&aurights=block

Screenshot from 2021-10-05 14-44-40.png (764×990 px, 130 KB)

Screenshot from 2021-10-05 14-44-35.png (912×755 px, 72 KB)

Event Timeline

Aklapper renamed this task from Difference in admins list on the Special page and the API output (Telugu Wikipedia) to Incomplete output of sysop user list on Telugu Wikipedia when using API.Oct 5 2021, 10:12 AM
Aklapper closed this task as Invalid.

See https://www.mediawiki.org/wiki/API:Allusers - aulimit is by default 10, that's why you get a aufrom value.