Index: branches/REL1_18/phase3/includes/SpecialPage.php |
— | — | @@ -671,6 +671,16 @@ |
672 | 672 | * Shortcut to get user's language |
673 | 673 | * |
674 | 674 | * @return Language |
| 675 | + * @since 1.18.1 |
| 676 | + */ |
| 677 | + public function getLanguage() { |
| 678 | + return $this->getContext()->getLanguage(); |
| 679 | + } |
| 680 | + |
| 681 | + /** |
| 682 | + * Shortcut to get user's language |
| 683 | + * |
| 684 | + * @return Language |
675 | 685 | * @since 1.18 |
676 | 686 | */ |
677 | 687 | public function getLang() { |