r106601 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106600‎ | r106601 | r106602 >
Date:21:29, 18 December 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
doc++
Modified paths:
  • /trunk/phase3/includes/context/ContextSource.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/context/ContextSource.php
@@ -36,7 +36,7 @@
3737
3838 /**
3939 * Get the RequestContext object
40 - *
 40+ * @since 1.18
4141 * @return RequestContext
4242 */
4343 public function getContext() {
@@ -51,6 +51,7 @@
5252 /**
5353 * Set the IContextSource object
5454 *
 55+ * @since 1.18
5556 * @param $context IContextSource
5657 */
5758 public function setContext( IContextSource $context ) {
@@ -60,6 +61,7 @@
6162 /**
6263 * Get the WebRequest object
6364 *
 65+ * @since 1.18
6466 * @return WebRequest
6567 */
6668 public function getRequest() {
@@ -69,6 +71,7 @@
7072 /**
7173 * Get the Title object
7274 *
 75+ * @since 1.18
7376 * @return Title
7477 */
7578 public function getTitle() {
@@ -78,6 +81,7 @@
7982 /**
8083 * Get the OutputPage object
8184 *
 85+ * @since 1.18
8286 * @return OutputPage object
8387 */
8488 public function getOutput() {
@@ -87,6 +91,7 @@
8892 /**
8993 * Get the User object
9094 *
 95+ * @since 1.18
9196 * @return User
9297 */
9398 public function getUser() {
@@ -107,8 +112,8 @@
108113 /**
109114 * Get the Language object
110115 *
 116+ * @since 1.19
111117 * @return Language
112 - * @since 1.19
113118 */
114119 public function getLanguage() {
115120 return $this->getContext()->getLanguage();
@@ -117,6 +122,7 @@
118123 /**
119124 * Get the Skin object
120125 *
 126+ * @since 1.18
121127 * @return Skin
122128 */
123129 public function getSkin() {
@@ -127,11 +133,13 @@
128134 * Get a Message object with context set
129135 * Parameters are the same as wfMessage()
130136 *
 137+ * @since 1.18
131138 * @return Message object
132139 */
133140 public function msg( /* $args */ ) {
134141 $args = func_get_args();
135142 return call_user_func_array( array( $this->getContext(), 'msg' ), $args );
136143 }
 144+
137145 }
138146

Status & tagging log