Page MenuHomePhabricator

generator and/or help page errors
Closed, ResolvedPublic

Description

Author: srbauer

Description:
There are some inconsistencies between help page and implementation.
I checked generators and got the following errors, some may be errors in the help page - others may be errors (or missing implementation?) in the API.

from API help page:
generator - One value: allpages, logevents, watchlist, recentchanges, backlinks, embeddedin, imageusage, usercontribs, info, revisions, links, langlinks, images, templates, categories, extlinks

logevents
http://de.wikipedia.org/w/api.php?action=query&generator=logevents
error code="badgenerator" info="Module logevents cannot be used as a generator"
help page error?

watchlist
http://de.wikipedia.org/w/api.php?action=query&generator=watchlist&prop=info
error code="gwlparams" info="gwlprop parameter may not be used in a generator"
implementation error (demo query in help page!)

recentchanges
http://de.wikipedia.org/w/api.php?action=query&generator=recentchanges
error code="badgenerator" info="Module recentchanges cannot be used as a generator"
missing implementation?

info
http://de.wikipedia.org/w/api.php?action=query&generator=info
error code="badgenerator" info="Module info cannot be used as a generator"
help page error?

revisions
http://de.wikipedia.org/w/api.php?action=query&generator=revisions
error code="badgenerator" info="Module revisions cannot be used as a generator"
missing implementation?

langlinks
http://de.wikipedia.org/w/api.php?action=query&generator=langlinks
error code="badgenerator" info="Module langlinks cannot be used as a generator"
help page error?

usercontribs
http://de.wikipedia.org/w/api.php?action=query&generator=usercontribs&gucuser=YurikBot
missing implementation?

extlinks
http://de.wikipedia.org/w/api.php?action=query&generator=extlinks&titles=Sonne
error code="badgenerator" info="Module extlinks cannot be used as a generator"
help page error?


Version: 1.11.x
Severity: normal

Details

Reference
bz10148

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:50 PM
bzimport set Reference to bz10148.
bzimport added a subscriber: Unknown Object (MLST).