Last modified: 2007-06-06 04:41:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12148, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10148 - generator and/or help page errors
generator and/or help page errors
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.11.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-05 16:03 UTC by Stefan Bauer
Modified: 2007-06-06 04:41 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Stefan Bauer 2007-06-05 16:03:50 UTC
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?
Comment 1 Yuri Astrakhan 2007-06-06 04:41:54 UTC
fixed in r22787

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links