Last modified: 2011-05-06 17:57:49 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 10154 - Special:Relatedchanges/Recentchanges misreports day limits in excess of maximum
Special:Relatedchanges/Recentchanges misreports day limits in excess of maximum
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Recent changes (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-05 22:33 UTC by Jesse (Pathoschild)
Modified: 2011-05-06 17:57 UTC (History)
5 users (show)

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


Attachments

Description Jesse (Pathoschild) 2007-06-05 22:33:44 UTC
[[Special:Relatedchanges]] will report the currently selected limit for days shown as the limit used, even if it is in excess of the maximum of 30 days.

For example, the following link reports that changes for the last million days are shown, while it actually shows up to 30 days. In contrast, despite one million changes being selected, it correctly reports 5000 changes maximum.
http://meta.wikimedia.org/w/index.php?title=Special:Recentchangeslinked&target=User:Pathoschild&days=1000000&limit=1000000

The fix would probably be a simple mathematical check like "if($daysselected>$maxdays) { $daysselected = $maxdays);".
Comment 1 Rob Church 2007-06-06 02:55:13 UTC
The 5,000 upper limit is coming from the standard checks in WebRequest to stop users doing stupid things like requesting a hundred million results in something expensive.]
Comment 2 Aaron Schulz 2009-01-03 13:52:43 UTC
Set $wgRCFilterByAge
Comment 3 Chad H. 2011-05-06 15:45:39 UTC
Fixed in r87545.
Comment 4 Brion Vibber 2011-05-06 17:57:49 UTC
r87545 seems to be at odds with $wgRCFilterByAge, as it doesn't check that setting when enforcing the input limits.

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


Navigation
Links