Special:Watchlist: Add user preference to "Show last" options, fix float comparison
authorFlorian <florian.schmidt.welzow@t-online.de>
Fri, 20 Nov 2015 06:45:46 +0000 (07:45 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 23 Nov 2015 15:52:22 +0000 (15:52 +0000)
commitb9fbbba4af3e56b504240fc32d1c9199f4444212
treee898646cd54ad76c4a44aa7c3d5ddab00ffeb629
parent2e4bc3f9da14c308a12e1f099ecf43d62a89a176
Special:Watchlist: Add user preference to "Show last" options, fix float comparison

Also, simplified the "selected" check:
if ( $a == $b ) {
return true;
} else {
return false;
}

doesn't make sense, if you can use:
return $a == $b;

Bug: T119172
Bug: T119181
Change-Id: I16e1713bcd6519695961fcaf094a214954e7769c
includes/specials/SpecialWatchlist.php