Followup to r86312
authorSam Reed <reedy@users.mediawiki.org>
Fri, 22 Apr 2011 20:17:21 +0000 (20:17 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 22 Apr 2011 20:17:21 +0000 (20:17 +0000)
commit42b9b2782312c50dfc5901560ee3f5f174358846
treed2b61108462f2fcc99c48dc441aa398d83b32d85
parentd96682e95db0d28ded8c954f64866a3f981fa49b
Followup to r86312

<ialex> Reedy: that rev is breaking usage of {{PAGENAME}} in messages, such as in MediaWiki:Noarticles

Allowing optional passing in of a Title object (like it may be set in Message), but if it's not set, or not a title object, fall back and use $wgTitle (I'm sorry!)
includes/GlobalFunctions.php
includes/Message.php
includes/MessageCache.php
includes/search/SearchEngine.php