Page MenuHomePhabricator

Don't use prop=info&intoken=...
Open, Needs TriagePublic

Description

Typical AWB request to read stuff for editing:

{"curtimestamp":"","inprop":"protection|watched|displaytitle","format":"xml","titles":"some title","type":"csrf|watch|rollback","intoken":"edit|protect|delete|move|watch","uiprop":"hasmsg","redirects":"","assert":"user","meta":"tokens|userinfo|notifications","prop":"info|revisions","converttitles":"","notprop":"count","action":"query","rvprop":"content|timestamp"}

Using prop=info for retrieving tokens instead of meta=tokens is deprecated, and AWB is by far the worst offender.

Event Timeline

If you look at the query, it's actually doing both...

Seems I partially did this in https://github.com/reedy/AutoWikiBrowser/commit/24a5c8250b32f8139187493621902375ab0f43ca so AWB probably still has some hits, but much lower.

Code should still probably be removed though at this point...

Seems I partially did this in https://github.com/reedy/AutoWikiBrowser/commit/24a5c8250b32f8139187493621902375ab0f43ca so AWB probably still has some hits, but much lower.

Or not. It seems I either messed up adding the message to look for, or it changed at some point after.

AWB is responsible for a loooot of these calls still :(