https://bugzilla.wikimedia.org/show_bug.cgi?id=32315
Web browser: ---
Bug #: 32315
Summary: Hardcoded watchlist preferences limit of 7 days
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Watchlist
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
In SpecialPreferences.php, line 850:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Preferences.php?revision=101358&view=markup
$defaultPreferences['watchlistdays'] = array(
'type' => 'float',
'min' => 0,
'max' => 7,
'section' => 'watchlist/displaywatchlist',
'help' => $context->msg( 'prefs-watchlist-days-max'
)->escaped(),
'label-message' => 'prefs-watchlist-days',
);
This is a hard coded limitation that doesn't properly reflect the possible
range supported by Special:Watchlist (that is, all changes made that are still
present in the recent changes table). The best fix is to have the 'max'
parameter calculated using '$wgRCMaxAge / 86400'.
If it still needs to be hard coded, set it to either 30 (Wikipeida) or 91
(default) instead.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l