Last modified: 2010-05-15 15:32:57 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 1644 - "Next #" link is displayed even if there are no more entries.
"Next #" link is displayed even if there are no more entries.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.4.x
PC Linux
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://krass.com/wiki/index.php?title...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-07 07:06 UTC by Christof Damian
Modified: 2010-05-15 15:32 UTC (History)
0 users

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


Attachments
patch for HEAD (1.58 KB, patch)
2005-04-19 20:03 UTC, Michael Keppler
Details

Description Christof Damian 2005-03-07 07:06:22 UTC
If you go to the Special:Log page and press the "Next #" link until you see the
last log entry, you can press it even more and are presented with empty lists.
Google-Bot is following these links until it gets bored, one for each increment.
Comment 1 Michael Keppler 2005-04-19 20:03:19 UTC
Created attachment 434 [details]
patch for HEAD

The patch adds a private variable to the log reader to count the number of log
lines shown. Depending on that number the links are shown or not.

Additionally the patch fixes another bug (without bugzilla entry). For an empty
log there is a mysql warning shown when trying to do seek(0) on the mysql
result. The patch avoids that warning.
Comment 2 JeLuF 2005-04-24 09:50:48 UTC
Rewrote patch and committed to CVS HEAD.

SpecialLog.php, rev 1.21

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


Navigation
Links