Follow-up r85226, r85227: add @since annotations
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 3 Apr 2011 08:33:53 +0000 (08:33 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 3 Apr 2011 08:33:53 +0000 (08:33 +0000)
includes/OutputPage.php
includes/SpecialPage.php

index 1ef96a8..dc3ad88 100644 (file)
@@ -779,6 +779,7 @@ class OutputPage {
         * Set the User object to use
         *
         * @param $u User object
+        * @since 1.18
         */
        public function setUser( $u ) {
                $this->mUser = $u;
@@ -788,6 +789,7 @@ class OutputPage {
         * Get the User object used in this instance
         *
         * @return User
+        * @since 1.18
         */
        public function getUser() {
                if ( !isset($this->mUser) ) {
@@ -802,6 +804,7 @@ class OutputPage {
         * Get the Skin object used to render this instance
         *
         * @return Skin
+        * @since 1.18
         */
        public function getSkin() {
                // For now we'll just proxy to the user. In the future a saner location for
index 6bd224e..ee6d390 100644 (file)
@@ -1006,6 +1006,7 @@ class SpecialPage {
         * Get the WebRequest being used for this instance
         *
         * @return WebRequest
+        * @since 1.18
         */
        public function getRequest() {
                if ( !isset($this->mRequest) ) {
@@ -1020,6 +1021,7 @@ class SpecialPage {
         * Get the OutputPage being used for this instance
         *
         * @return OutputPage
+        * @since 1.18
         */
        public function getOutput() {
                if ( !isset($this->mOutput) ) {
@@ -1034,6 +1036,7 @@ class SpecialPage {
         * Shortcut to get the skin being used for this instance
         *
         * @return User
+        * @since 1.18
         */
        public function getUser() {
                return $this->getOutput()->getUser();
@@ -1043,6 +1046,7 @@ class SpecialPage {
         * Shortcut to get the skin being used for this instance
         *
         * @return Skin
+        * @since 1.18
         */
        public function getSkin() {
                return $this->getOutput()->getSkin();