Last modified: 2007-06-03 17:22:52 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 10112 - generator=backlinks&prop=info broken
generator=backlinks&prop=info broken
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.11.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-02 21:04 UTC by Stefan Bauer
Modified: 2007-06-03 17:22 UTC (History)
2 users (show)

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


Attachments

Description Stefan Bauer 2007-06-02 21:04:41 UTC
prop=info gives return fields - but without information.

demo:

http://de.wikipedia.org/w/api.php?action=query&generator=backlinks&prop=info&titles=Sonne
returns:
<query>
  <pages>
    <page pageid="230" ns="0" title="Astronomische Einheit" touched="2007-06-02T21:00:34Z" lastrevid="0" counter="0" length="0" />
    <page pageid="316" ns="0" title="Astronomisches Objekt" touched="2007-06-02T21:00:34Z" lastrevid="0" counter="0" length="0" />
  </pages>
</query>

The expected return would be (titles from query above):
http://de.wikipedia.org/w/api.php?action=query&prop=info&titles=Astronomische%20Einheit|Astronomisches%20Objekt|Asteroid|Akrostichon|Brauner%20Zwerg|Blauer%20Riese|Beteigeuze|Chemisches%20Element|Dezember|Grundkr%E4fte%20der%20Physik
<query>
  <pages>
<query>
  <pages>
    <page pageid="230" ns="0" title="Astronomische Einheit" touched="2007-05-26T04:52:08Z" lastrevid="32328181" counter="445" length="24427" />
    <page pageid="316" ns="0" title="Astronomisches Objekt" touched="2007-05-16T09:26:30Z" lastrevid="30828713" counter="678" length="10688" />
  </pages>
</query>

In the generator query no field added by prop info is useful for any purpose - touched returns query time, the other fields nothing.
Comment 1 Stefan Bauer 2007-06-02 21:07:21 UTC
Sorry, forgot to say: I didn't check other generators, they may have the same problem.
Comment 2 Yuri Astrakhan 2007-06-03 17:22:52 UTC
fixed in r22682

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


Navigation
Links