registration: Deprecate not having manifest_version set
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 15 May 2017 23:33:22 +0000 (16:33 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 16 May 2017 00:36:53 +0000 (17:36 -0700)
commita1c9182c58391f24e7d9b085fda9e9b733470216
tree01b0205246c9c9285844cbe70717d630e735041a
parent9992ba15e48051af1efb378d7c9d293cd00be0e3
registration: Deprecate not having manifest_version set

Emit a wfDeprecated() warning for each extension that does not have
manifest_version set.

Because we don't have any mechanism to cache warnings, just disable the
cache if any deprecation warnings are emitted. This ensures that the
warnings are shown on every page load instead of probably once a day.

Bug: T155610
Change-Id: I163a84ae1d381ca5bd67b4b317c04f9f51c066ea
includes/registration/ExtensionRegistry.php