Last modified: 2010-05-15 15:32:57 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 T3644, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1644 - "Next #" link is displayed even if there are no more entries.
"Next #" link is displayed even if there are no more entries.
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
PC Linux
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  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: ---

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

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.