Page MenuHomePhabricator
Authored By
bzimport
Nov 21 2014, 10:32 PM
Size
765 B
Referenced Files
None
Subscribers
None

WL2.diff

Index: includes/specials/SpecialWatchlist.php
===================================================================
--- includes/specials/SpecialWatchlist.php (revision 50058)
+++ includes/specials/SpecialWatchlist.php (working copy)
@@ -392,10 +392,10 @@
* Returns html
*/
function wlCutoffLinks( $days, $page = 'Watchlist', $options = array() ) {
- global $wgLang;
+ global $wgLang, $wgRCLinkDays;
$hours = array( 1, 2, 6, 12 );
- $days = array( 1, 3, 7 );
+ $days = $wgRCLinkDays;
$i = 0;
foreach( $hours as $h ) {
$hours[$i++] = wlHoursLink( $h, $page, $options );
@@ -408,7 +408,7 @@
array('parseinline', 'replaceafter'),
$wgLang->pipeList( $hours ),
$wgLang->pipeList( $days ),
- wlDaysLink( 0, $page, $options ) );
+ '' );
}
/**

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5090
Default Alt Text
WL2.diff (765 B)

Event Timeline