Cap 'days' param in RC/Watchlist at $wgRCMaxAge
authorRoan Kattouw <roan.kattouw@gmail.com>
Wed, 26 Jul 2017 02:46:37 +0000 (19:46 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Wed, 26 Jul 2017 21:00:39 +0000 (14:00 -0700)
commit5b2198bfebde0085d8c73c7a7bec23b2f59431b9
treef6bb9b5b0bb56c606dfc297aa61afb45df463847
parentfcfc3a95ed684477924c58bb2aba2d824d095002
Cap 'days' param in RC/Watchlist at $wgRCMaxAge

Without this, setting the 'days' param to a very high value
causes exceptions while doing timestamp math.

Bug: T149890
Change-Id: I5aee5f027cced8860eb966e2d6bdb07764ce861a
includes/specials/SpecialRecentchanges.php
includes/specials/SpecialWatchlist.php