Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -779,6 +779,7 @@ |
780 | 780 | * Set the User object to use |
781 | 781 | * |
782 | 782 | * @param $u User object |
| 783 | + * @since 1.18 |
783 | 784 | */ |
784 | 785 | public function setUser( $u ) { |
785 | 786 | $this->mUser = $u; |
— | — | @@ -788,6 +789,7 @@ |
789 | 790 | * Get the User object used in this instance |
790 | 791 | * |
791 | 792 | * @return User |
| 793 | + * @since 1.18 |
792 | 794 | */ |
793 | 795 | public function getUser() { |
794 | 796 | if ( !isset($this->mUser) ) { |
— | — | @@ -802,6 +804,7 @@ |
803 | 805 | * Get the Skin object used to render this instance |
804 | 806 | * |
805 | 807 | * @return Skin |
| 808 | + * @since 1.18 |
806 | 809 | */ |
807 | 810 | public function getSkin() { |
808 | 811 | // For now we'll just proxy to the user. In the future a saner location for |
Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -1006,6 +1006,7 @@ |
1007 | 1007 | * Get the WebRequest being used for this instance |
1008 | 1008 | * |
1009 | 1009 | * @return WebRequest |
| 1010 | + * @since 1.18 |
1010 | 1011 | */ |
1011 | 1012 | public function getRequest() { |
1012 | 1013 | if ( !isset($this->mRequest) ) { |
— | — | @@ -1020,6 +1021,7 @@ |
1021 | 1022 | * Get the OutputPage being used for this instance |
1022 | 1023 | * |
1023 | 1024 | * @return OutputPage |
| 1025 | + * @since 1.18 |
1024 | 1026 | */ |
1025 | 1027 | public function getOutput() { |
1026 | 1028 | if ( !isset($this->mOutput) ) { |
— | — | @@ -1034,6 +1036,7 @@ |
1035 | 1037 | * Shortcut to get the skin being used for this instance |
1036 | 1038 | * |
1037 | 1039 | * @return User |
| 1040 | + * @since 1.18 |
1038 | 1041 | */ |
1039 | 1042 | public function getUser() { |
1040 | 1043 | return $this->getOutput()->getUser(); |
— | — | @@ -1043,6 +1046,7 @@ |
1044 | 1047 | * Shortcut to get the skin being used for this instance |
1045 | 1048 | * |
1046 | 1049 | * @return Skin |
| 1050 | + * @since 1.18 |
1047 | 1051 | */ |
1048 | 1052 | public function getSkin() { |
1049 | 1053 | return $this->getOutput()->getSkin(); |