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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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