Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -648,7 +648,7 @@ |
649 | 649 | } |
650 | 650 | |
651 | 651 | /** |
652 | | - * Shortcut to get the skin being used for this instance |
| 652 | + * Shortcut to get the User executing this instance |
653 | 653 | * |
654 | 654 | * @return User |
655 | 655 | * @since 1.18 |
— | — | @@ -688,15 +688,13 @@ |
689 | 689 | } |
690 | 690 | |
691 | 691 | /** |
692 | | - * Wrapper around wfMessage that sets the current context. Currently this |
693 | | - * is only the title. |
| 692 | + * Wrapper around wfMessage that sets the current context. |
694 | 693 | * |
695 | 694 | * @return Message |
696 | 695 | * @see wfMessage |
697 | 696 | */ |
698 | 697 | public function msg( /* $args */ ) { |
699 | | - return call_user_func_array( 'wfMessage', |
700 | | - func_get_args() )->title( $this->getFullTitle() ); |
| 698 | + return call_user_func_array( array( $this->getContext(), 'msg' ), func_get_args() ); |
701 | 699 | } |
702 | 700 | |
703 | 701 | /** |