Index: trunk/phase3/includes/context/ContextSource.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | |
38 | 38 | /** |
39 | 39 | * Get the RequestContext object |
40 | | - * |
| 40 | + * @since 1.18 |
41 | 41 | * @return RequestContext |
42 | 42 | */ |
43 | 43 | public function getContext() { |
— | — | @@ -51,6 +51,7 @@ |
52 | 52 | /** |
53 | 53 | * Set the IContextSource object |
54 | 54 | * |
| 55 | + * @since 1.18 |
55 | 56 | * @param $context IContextSource |
56 | 57 | */ |
57 | 58 | public function setContext( IContextSource $context ) { |
— | — | @@ -60,6 +61,7 @@ |
61 | 62 | /** |
62 | 63 | * Get the WebRequest object |
63 | 64 | * |
| 65 | + * @since 1.18 |
64 | 66 | * @return WebRequest |
65 | 67 | */ |
66 | 68 | public function getRequest() { |
— | — | @@ -69,6 +71,7 @@ |
70 | 72 | /** |
71 | 73 | * Get the Title object |
72 | 74 | * |
| 75 | + * @since 1.18 |
73 | 76 | * @return Title |
74 | 77 | */ |
75 | 78 | public function getTitle() { |
— | — | @@ -78,6 +81,7 @@ |
79 | 82 | /** |
80 | 83 | * Get the OutputPage object |
81 | 84 | * |
| 85 | + * @since 1.18 |
82 | 86 | * @return OutputPage object |
83 | 87 | */ |
84 | 88 | public function getOutput() { |
— | — | @@ -87,6 +91,7 @@ |
88 | 92 | /** |
89 | 93 | * Get the User object |
90 | 94 | * |
| 95 | + * @since 1.18 |
91 | 96 | * @return User |
92 | 97 | */ |
93 | 98 | public function getUser() { |
— | — | @@ -107,8 +112,8 @@ |
108 | 113 | /** |
109 | 114 | * Get the Language object |
110 | 115 | * |
| 116 | + * @since 1.19 |
111 | 117 | * @return Language |
112 | | - * @since 1.19 |
113 | 118 | */ |
114 | 119 | public function getLanguage() { |
115 | 120 | return $this->getContext()->getLanguage(); |
— | — | @@ -117,6 +122,7 @@ |
118 | 123 | /** |
119 | 124 | * Get the Skin object |
120 | 125 | * |
| 126 | + * @since 1.18 |
121 | 127 | * @return Skin |
122 | 128 | */ |
123 | 129 | public function getSkin() { |
— | — | @@ -127,11 +133,13 @@ |
128 | 134 | * Get a Message object with context set |
129 | 135 | * Parameters are the same as wfMessage() |
130 | 136 | * |
| 137 | + * @since 1.18 |
131 | 138 | * @return Message object |
132 | 139 | */ |
133 | 140 | public function msg( /* $args */ ) { |
134 | 141 | $args = func_get_args(); |
135 | 142 | return call_user_func_array( array( $this->getContext(), 'msg' ), $args ); |
136 | 143 | } |
| 144 | + |
137 | 145 | } |
138 | 146 | |