populateContentModel: Invalidate content model and revision cache
authorMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 17 Nov 2016 22:51:07 +0000 (17:51 -0500)
committerJforrester <jforrester@wikimedia.org>
Tue, 29 Nov 2016 00:32:57 +0000 (00:32 +0000)
commit490daba99cf1251b2950d11fa95a2d53f793540e
tree6d6ae3b4cd18af0b0c7e14eefb5b9206b1a00b3f
parentbcea7fcb1c37d25e0949f77a8bde84c0a8b34ca4
populateContentModel: Invalidate content model and revision cache

The cache is computed from both the default values and the DB.

If someone visits the page when the wrong default value is there,
it will be cached.

When we populate the DB with the correct value (usually in preparation
for changing the namespace default), we need to invalidate the
potentially broken cache.

Change-Id: I995c0d9fdec529a456762571d5406d0bd0d33aed
maintenance/populateContentModel.php