Last modified: 2010-05-15 16:03:11 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 T15819, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13819 - Bad value of euoffset causes items to be skipped
Bad value of euoffset causes items to be skipped
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-22 10:09 UTC by MER-C
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

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


Attachments

Description MER-C 2008-04-22 10:09:16 UTC
The query http://en.wikipedia.org/w/api.php?action=query&list=exturlusage&euprop=title|url&euquery=*.photobucket.com tells me to use euoffset=11 and the next query should be
http://en.wikipedia.org/w/api.php?action=query&list=exturlusage&euprop=title|url&euquery=*.photobucket.com&euoffset=11

If I then correlate the output of the two queries above with 
http://en.wikipedia.org/w/api.php?action=query&list=exturlusage&euprop=title|url&euquery=*.photobucket.com&eulimit=100 , I find that an item is skipped.

<eu ns="3" title="User talk:NB" url="http://photobucket.com/" />
<eu ns="3" title="User talk:Billykelaher" url="http://photobucket.com/" />
<eu ns="6" title="Image:Macintosh HD-Users-Q-Desktop-images-raww.jpg" url="http://photobucket.com" />
<eu ns="6" title="Image:Macintosh HD-Users-Q-Desktop-Razor.jpg" url="http://photobucket.com" />
<eu ns="6" title="Image:P4054828.JPG" url="http://photobucket.com" />
<eu ns="6" title="Image:Tnf.gif" url="http://photobucket.com" />
<eu ns="1" title="Talk:Sophia Bush" url="http://photobucket.com" />
<eu ns="6" title="Image:Final02pg3.jpg" url="http://photobucket.com" />
<eu ns="6" title="Image:Mercedes benz t80+top view.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:Breraconvt.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:Ferrari 156.jpg" url="http://photobucket.com/" />    <===== SKIPPED ITEM
<eu ns="6" title="Image:MercT80.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:Tipo 154.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:Maserati 5000 GT.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:Maserati450s1.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:Khamsin-01.jpg" url="http://photobucket.com/" />
<eu ns="6" title="Image:PrinceofTennisPoster.png" url="http://photobucket.com/" />
<eu ns="3" title="User talk:Brownsuga 1993" url="http://photobucket.com/" />
<eu ns="4" title="Wikipedia:Help desk/Archives/2007 January 10" url="http://photobucket.com/" />
<eu ns="3" title="User talk:VinceBowdren" url="http://photobucket.com/" />
<eu ns="1" title="Talk:Swallows Wood" url="http://photobucket.com/" />
. . .

The value of euoffset should increment by exactly the amount specified in eulimit, not one more.
Comment 1 Roan Kattouw 2008-04-22 12:46:42 UTC
(In reply to comment #0)
> The value of euoffset should increment by exactly the amount specified in
> eulimit, not one more.
> 

Well spotted, fixed in r33724. Apparently, this bug has existed ever since the introduction of list=exturlusage nine months ago, I'm amazed nobody noticed it before.

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


Navigation
Links