The watchlist "time period" settings have turned into a drop-down list. Most of the options are preserved when the watchlist displays - select "6 hours" and "Go", and the watchlist is redisplayed with "6 hours" selected. But "2 hours" redisplays with "1 hour" selected.
|mediawiki/core : wmf/1.27.0-wmf.7||Special:Watchlist: Add user preference to "Show last" options, fix float comparison|
|mediawiki/core : master||Special:Watchlist: Add user preference to "Show last" options, fix float comparison|
This is because 2/24 = 0,83333... which gets cut to 15 decimals in the html form. But we check the &days= parameter in php to be exactly 2/24 which returns false and so the option doesn't get selected.
Rounding would help here, but isn't it easier to pass the maxage for the watchlist in hours (only integers as url parameters required)?
If only Lee Daniel Crocker, who wrote the first version of this code back in 2003, realized how big Wikipedia is going to grow and that people will want to view changes from time periods smaller than one full day… :)
I'll fix the comparison to use correct rounding and try to get the fix deployed on Monday.