Allow marking legacy ContentHandler hooks as deprecated
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 17 Aug 2016 05:53:16 +0000 (22:53 -0700)
committerLegoktm <legoktm.wikipedia@gmail.com>
Thu, 18 Aug 2016 17:43:49 +0000 (17:43 +0000)
commit4b5c1745ec7405f24de4aea88cbdeb7c9dd29ea7
tree9d9b479bddc44be501fd31752f2904e884cd6000
parentb60578d51bdf8d1722d92487475e70209e6c2b4f
Allow marking legacy ContentHandler hooks as deprecated

Instead of having a single development flag that controls whether all
the hooks emit warnings, use the standard hook deprecation method to
mark individual hooks as deprecated once we have determined that their
usage is minimal.

Change-Id: I9a00ae131cb7f609c1d44926d1f6547089f70c34
includes/content/ContentHandler.php
tests/phpunit/includes/content/ContentHandlerTest.php