Note whether a category was added in a machine readable way
authorMark A. Hershberger <mah@nichework.com>
Tue, 5 Sep 2017 18:18:02 +0000 (14:18 -0400)
committerAddshore <addshorewiki@gmail.com>
Wed, 6 Sep 2017 09:03:54 +0000 (09:03 +0000)
commit4fd44dcd26417265e61029d43d61c522505b96fd
tree78644c63af40462694bdc51468dac69f9fa77fec
parent45b00db7330f12180f4b3cd9ba1404a710ee75b6
Note whether a category was added in a machine readable way

CategoryMembershipChange is great, but it doesn't have a
machine-readable way to see if the category has been added or removed
from the page. We could parse the comments, but that would rely on
reading the comments and matching the message against the translated
strings.

This patch adds a couple of parameters and notes whether the change
was an addition or removal in rc_params.

Also, puts the evaluation of the AbortEmailNotification hook before
the check of rc_type in the hopes that the extension CatWatch can send
out emails at the right time.

Bug: T175052
Change-Id: I3e2ac0cc148b9d618e2f8b7853b14bff827ee443
includes/changes/CategoryMembershipChange.php
includes/changes/RecentChange.php