Page MenuHomePhabricator

Bad value of euoffset causes items to be skipped
Closed, ResolvedPublic

Description

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.


Version: 1.13.x
Severity: normal

Details

Reference
bz13819

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:10 PM
bzimport set Reference to bz13819.

(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.