RCFeed: Use named types instead of exposing internal MW constant
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 4 Jun 2014 04:06:17 +0000 (06:06 +0200)
committerOri.livneh <ori@wikimedia.org>
Wed, 4 Jun 2014 04:55:02 +0000 (04:55 +0000)
commitc0b0a12eab2df5934da2f8c11fb3c04d5b94464d
tree53d978df57a784741da06b2fbb57732941585c3e
parent584dd753161fe5050d47d1ce1b62e9078573ff62
RCFeed: Use named types instead of exposing internal MW constant

Like we do in ApiQueryRecentChanges as well, expose the named
rc.type property, not the internal integer constants.

Change-Id: I89a948eee999032bb2e42cc23345affa879afb42
includes/changes/RecentChange.php
includes/rcfeed/MachineReadableRCFeedFormatter.php