ChangeTags: Hide tags whose description messages are disabled
authorOri Livneh <ori@wikimedia.org>
Sun, 9 Nov 2014 03:13:05 +0000 (19:13 -0800)
committerKrinkle <krinklemail@gmail.com>
Thu, 16 Apr 2015 01:14:03 +0000 (01:14 +0000)
commita2bfe269716dbcb35c97977f20a04f3e6d4501b2
treea6ba978371f3d9312490f78b259595eb0c9138c0
parent4fa02402289e9ba08369f2c3f9cb78eb0080027a
ChangeTags: Hide tags whose description messages are disabled

If an interface message describing the given tag exists, check if it has been
disabled. If so, take that as an indication that the tag should not be
displayed.

This amounts to an adequate (if somewhat low-level) interface for managing
which edit tags are shown in change list views like Special:RecentChanges and
Special:Contributions.

This patch is based on a suggestion made by jackmcbarn in a review comment on
commit 494989772cf. I did it in a separate change because I'd be interested in
hiding the HHVM tag even if we end up deciding against a generic mechanism for
hiding tags.

Change-Id: I515cf2118ab929da985d6b40481325640e800dcd
RELEASE-NOTES-1.26
includes/ChangeTags.php