/* bool */ 'hideLiu' => (int)$user->getBoolOption( 'watchlisthideliu' ),
/* bool */ 'hidePatrolled' => (int)$user->getBoolOption( 'watchlisthidepatrolled' ),
/* bool */ 'hideOwn' => (int)$user->getBoolOption( 'watchlisthideown' ),
- /* ? */ 'namespace' => 'all',
+ /* bool */ 'extended' => (int)$user->getBoolOption( 'extendwatchlist' ),
+ /* ? */ 'namespace' => '', //means all
/* ? */ 'invert' => false,
/* bool */ 'associated' => false,
);
$prefs['hideliu'] = $user->getBoolOption( 'watchlisthideliu' );
$prefs['hideown'] = $user->getBoolOption( 'watchlisthideown' );
$prefs['hidepatrolled'] = $user->getBoolOption( 'watchlisthidepatrolled' );
+ $prefs['extended'] = $user->getBoolOption( 'extendwatchlist' );
# Get query variables
$values = array();
$values['hideLiu'] = (int)$request->getBool( 'hideLiu', $prefs['hideliu'] );
$values['hideOwn'] = (int)$request->getBool( 'hideOwn', $prefs['hideown'] );
$values['hidePatrolled'] = (int)$request->getBool( 'hidePatrolled', $prefs['hidepatrolled'] );
+ $values['extended'] = (int)$request->getBool( 'extended', $prefs['extended'] );
foreach( $this->customFilters as $key => $params ) {
$values[$key] = (int)$request->getBool( $key );
}
}
# Toggle watchlist content (all recent edits or just the latest)
- if( $user->getOption( 'extendwatchlist' ) ) {
+ if( $values['extended'] ) {
$limitWatchlist = intval( $user->getOption( 'wllimit' ) );
$usePage = false;
} else {