Last modified: 2011-01-25 00:42:24 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 9487 - Backwards scrolling at Special:Whatlinkshere is broken
Backwards scrolling at Special:Whatlinkshere is broken
Status: RESOLVED DUPLICATE of bug 6424
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.10.x
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 19236 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-03 10:03 UTC by Raimond Spekking
Modified: 2011-01-25 00:42 UTC (History)
5 users (show)

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


Attachments

Description Raimond Spekking 2007-04-03 10:03:16 UTC
From http://lists.wikimedia.org/pipermail/wikitech-l/2007-March/030644.html

> Revision: 20616
> > Author:   raymond
> > Date:     2007-03-22 01:22:24 -0800 (Thu, 22 Mar 2007)
> > 
> > Log Message:
> > -----------
> > * (bug 4624) Namespace selection for Special:Whatlinkshere

> > Found another bug: scrolling backwards at Special:Whatlinkshere was broken
since ?
> > 'previous' shows always the first page in reversed order but not the real
previous page.
> > Fixed now by changing backwards scrolling mechanism.

Ok, together with r20714 (removing unsed variable only) the backwards
scrolling isn't completely fixed  :-( 

The current version is a little bit better because it is possible to
scroll once back, the second click jumps to the beginning of the list in
correct order.

The previous version jumps at the first backwards click to the beginning
of the list, in reversed order.

I think we need a database request to figure out the offset for every
backwards scrolling in dependency of the current page and the limit. But
I do not know how to do this in the cheapest way, without melting the
servers  :-(
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-12-16 20:53:31 UTC
What this needs is a "to" parameter, to specify a maximum id.  Pseudo-code would be:

SELECT ... FROM table WHERE id < 1234 ORDER BY id DESC LIMIT 50

Then you need to reverse the result set in PHP.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-27 00:09:13 UTC
Should be fixed by Aaron in r35371.
Comment 3 Brion Vibber 2008-05-27 20:20:18 UTC
r35371 and friends reverted as they don't work on MySQL 4.0.
Comment 4 Alex Z. 2009-07-21 05:27:01 UTC
*** Bug 19236 has been marked as a duplicate of this bug. ***
Comment 5 Chad H. 2011-01-17 14:19:10 UTC

*** This bug has been marked as a duplicate of bug 6424 ***

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


Navigation
Links