(bug 31469) Make sure tracking category messages expand variables like
authorBrian Wolff <bawolff@users.mediawiki.org>
Fri, 30 Dec 2011 06:44:38 +0000 (06:44 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Fri, 30 Dec 2011 06:44:38 +0000 (06:44 +0000)
commit770cd71b510269b8b2f2d7cb3c7101343352e517
tree6ae94a8350f570b46204224a5106721050f22ad7
parenta01f187a778780019f63dc7a0752f10278dd2d43
(bug 31469) Make sure tracking category messages expand variables like
{{NAMESPACE}} relative to the Title of the currently being parsed page.

Basically wfMsgForContent expands messages with wrong title while doing linksupdate stuff via job queue. For the broken file tracking category (r86534),Wikipedia folk want to sort the page into different categories based on namespace, and for some namespaces not categorize them at all (After all, a broken file link in a talk namespace is often not a bad thing).

Anyhow, explicitly set the title object for the message using wfMessage. There's probably deeper issues here in regards to why wfMsg et al is using wrong title, but this should fix the immediate issue.
RELEASE-NOTES-1.19
includes/parser/Parser.php