http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89875

Revision: 89875
Author:   ialex
Date:     2011-06-11 08:40:35 +0000 (Sat, 11 Jun 2011)
Log Message:
-----------
And I forgot to commit this file in r89874

Modified Paths:
--------------
    trunk/phase3/includes/SpecialPage.php

Modified: trunk/phase3/includes/SpecialPage.php
===================================================================
--- trunk/phase3/includes/SpecialPage.php       2011-06-11 08:30:19 UTC (rev 
89874)
+++ trunk/phase3/includes/SpecialPage.php       2011-06-11 08:40:35 UTC (rev 
89875)
@@ -639,6 +639,16 @@
        }
 
        /**
+        * Shortcut to get user's language
+        *
+        * @return Language
+        * @since 1.19
+        */
+       public function getLang() {
+               return $this->getContext()->getLang();
+       }
+
+       /**
         * Return the full title, including $par
         *
         * @return Title


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

Reply via email to