https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111873

Revision: 111873
Author:   siebrand
Date:     2012-02-19 17:17:42 +0000 (Sun, 19 Feb 2012)
Log Message:
-----------
Fix incorrect call.

Modified Paths:
--------------
    trunk/extensions/Translate/MessageGroups.php

Modified: trunk/extensions/Translate/MessageGroups.php
===================================================================
--- trunk/extensions/Translate/MessageGroups.php        2012-02-19 17:06:06 UTC 
(rev 111872)
+++ trunk/extensions/Translate/MessageGroups.php        2012-02-19 17:17:42 UTC 
(rev 111873)
@@ -897,7 +897,7 @@
                // Allow for adding a custom group description by using
                // "MediaWiki:Tp-custom-<group ID>".
                if( wfMessage( 'tp-custom-' . $this->id 
)->inContentLanguage()->exists() ) {
-                       $customText = ' ' . wfMessage( 'tp-custom-' . $this->id 
)->getText();
+                       $customText = ' ' . wfMessage( 'tp-custom-' . $this->id 
)->text();
                } else {
                        $customText = '';
                }


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to