Do an HTMLCacheUpdate of templatelinks on page creation
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 18 Apr 2017 16:40:50 +0000 (12:40 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 18 Apr 2017 16:42:55 +0000 (12:42 -0400)
commitaaa1c2ab96a2c3e6715665f65c704e6c39a9e4a2
tree76b888dd7146afab1dd3594acd89896aaff2fa12
parent8ca0afde953e905762d549c0b289f7954262e535
Do an HTMLCacheUpdate of templatelinks on page creation

When a page is created, anything that's trying to transclude that page
needs to have an HTMLCacheUpdate run on it. But that's not currently
happening.

Normal template transclusion happens to get updates only because
transclusion of a nonexistent template is rendered as a link to that
template, which registers a pagelink, and pagelinks *are* being updated
on page creation to cause redlinks to turn blue.

Change-Id: I18b8cfdeedc53f8fdb1e758a6fca1cd23d9574f8
includes/page/WikiPage.php