"Bawolff" posted a comment on MediaWiki.r107623.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107623#c28674

Commit summary for MediaWiki.r107623:

(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.

Bawolff's comment:

I'm tagging this 1.18wmf1 since it seems its wanted on wikipedia ( 
[[bugzilla:33413]] )

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to