In Title::resetArticleID(), clear all entries in the LinkCache instead of just the...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 1 Sep 2011 09:23:20 +0000 (09:23 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 1 Sep 2011 09:23:20 +0000 (09:23 +0000)
commit81fcd98a08c33ba7f8ff371c7dbaac6f37fdaf5e
tree6a3f27018d24e07cfb7993aa373f40a1c5291db4
parent713a10d7e9158de68e4be66b0f8603059a006b52
In Title::resetArticleID(), clear all entries in the LinkCache instead of just the ones for bad title stuff. resetArticleID() seemed to assume it was only called for titles that come into existance, but that's not correct: it's also called for titles that go out of existence, and titles whose redirect status changes. Noticed this because $nt->getRedirect()'s return value was wrong in my TitleMoveComplete hook.
includes/Title.php