Last modified: 2014-02-12 23:35:53 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 T47237, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45237 - LinkSearch uses numeric offset paging instead of paging by last entry returned
LinkSearch uses numeric offset paging instead of paging by last entry returned
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/index....
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-21 16:28 UTC by Bawolff (Brian Wolff)
Modified: 2014-02-12 23:35 UTC (History)
2 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2013-02-21 16:28:13 UTC
I noticed today, that paging on special:linksearch uses a numeric offset. For example: http://commons.wikimedia.org/w/index.php?title=Special:LinkSearch&limit=500&offset=5000&target=http%3A%2F%2Fwww.wga.hu%2Fart%2F

For efficiency reasons it should probably use an offset of the last entry displayed on the page. (For example: offset=http://www.wga.hu/art/c/crespi/daniele/pieta.jpg or something)

Note: I say this without looking how it is implemented/the db queries. So I may be misunderstanding the issues involved.
Comment 1 db [inactive,noenotif] 2013-03-16 18:02:02 UTC
API uses also offset, because there is no primary key you can use for pagination. That makes it also hard to reverse the order.
Comment 2 Umherirrender 2013-11-18 18:22:39 UTC
primary key was added with Gerrit change #51675, maybe that helps

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


Navigation
Links