diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2011-04-18 14:02:13 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2011-04-18 14:02:13 +0000 |
commit | 562256729031683ddb4d8b5638ecea866bd13129 (patch) | |
tree | 974d71c99688d315c7014ea00aa0e64bf4121071 /includes/Message.php | |
parent | 9c19cb6e3851c3a7b1f18850e610637f8e18be4a (diff) | |
download | mediawikicore-562256729031683ddb4d8b5638ecea866bd13129.tar.gz mediawikicore-562256729031683ddb4d8b5638ecea866bd13129.zip |
Followup rr86304
We need a title object for parsing, do one against the message key
Doesn't seem to be the best way, but it's the most applicable. If I abused $wgTitle, Chad would come and beat me too ;)
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86312
Diffstat (limited to 'includes/Message.php')
-rw-r--r-- | includes/Message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Message.php b/includes/Message.php index 69a48b854911..d65ec868056b 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -432,7 +432,7 @@ class Message { * @return string Wikitext parsed into HTML */ protected function parseText( $string ) { - return MessageCache::singleton()->parse( $string, null, /*linestart*/true, $this->interface, $this->language )->getText(); + return MessageCache::singleton()->parse( $string, $this->key, /*linestart*/true, $this->interface, $this->language )->getText(); } /** |