Encapsulate rc_params handling in RecentChange::parseParams
authorStephane Bisson <sbisson@wikimedia.org>
Wed, 10 Jun 2015 12:39:17 +0000 (08:39 -0400)
committerStephane Bisson <sbisson@wikimedia.org>
Wed, 10 Jun 2015 19:11:37 +0000 (15:11 -0400)
commit62961558a5b0bc61f752bd816ad633b7cacc02a9
tree7c364eaffd9f9fdf3f6e5e8d30e4697cfe30a1e7
parentffd099acda6bc4f6c81646fc1f513c873b3e3318
Encapsulate rc_params handling in RecentChange::parseParams

* Make MachineReadableRCFeedFormatter use it

* Some unit tests

* Also fixed some line-too-long warnings in RecentChange.php

Change-Id: I443d14f5d4cdac0945cb9c03608d55745bbb865b
includes/changes/RecentChange.php
includes/rcfeed/MachineReadableRCFeedFormatter.php
tests/phpunit/includes/changes/RecentChangeTest.php