Follow-up r83755: @deprecated @since is wrong, doesn't have the expected semantic...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 12 Mar 2011 18:14:33 +0000 (18:14 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 12 Mar 2011 18:14:33 +0000 (18:14 +0000)
includes/Article.php
includes/DefaultSettings.php
includes/HTMLForm.php
includes/Linker.php
includes/OutputPage.php
includes/Title.php
includes/User.php
includes/specials/SpecialBlockip.php

index 8290f21..434c574 100644 (file)
@@ -159,7 +159,7 @@ class Article {
         *
         * @param $text string article content containing redirect info
         * @return mixed false, Title of in-wiki target, or string with URL
-        * @deprecated @since 1.17
+        * @deprecated since 1.17
         */
        public function followRedirectText( $text ) {
                // recurse through to only get the final target
@@ -1936,7 +1936,7 @@ class Article {
        }
 
        /**
-        * @deprecated @since 1.7 use Article::doEdit()
+        * @deprecated since 1.7 use Article::doEdit()
         */
        function insertNewArticle( $text, $summary, $isminor, $watchthis, $suppressRC = false, $comment = false, $bot = false ) {
                wfDeprecated( __METHOD__ );
@@ -1970,7 +1970,7 @@ class Article {
        }
 
        /**
-        * @deprecated @since 1.7 use Article::doEdit()
+        * @deprecated since 1.7 use Article::doEdit()
         */
        function updateArticle( $text, $summary, $minor, $watchthis, $forceBot = false, $sectionanchor = '' ) {
                wfDeprecated( __METHOD__ );
index 70f3a3b..a4da8a4 100644 (file)
@@ -3177,13 +3177,13 @@ $wgSecureLogin        = false;
 
 /**
  * Allow sysops to ban logged-in users
- * @deprecated @since 1.18
+ * @deprecated since 1.18
  */
 $wgSysopUserBans        = true;
 
 /**
  * Allow sysops to ban IP ranges
- * @deprecated @since 1.18; set $wgBlockCIDRLimit to array( 'IPv4' => 32, 'IPv6 => 128 ) instead.
+ * @deprecated since 1.18; set $wgBlockCIDRLimit to array( 'IPv4' => 32, 'IPv6 => 128 ) instead.
  */
 $wgSysopRangeBans       = true;
 
index 1010229..7653e2a 100644 (file)
@@ -159,7 +159,7 @@ class HTMLForm {
        /**
         * Add the HTMLForm-specific JavaScript, if it hasn't been
         * done already.
-        * @deprecated @since 1.18 load modules with ResourceLoader instead
+        * @deprecated since 1.18 load modules with ResourceLoader instead
         */
        static function addJS() { }
 
index a2438e7..599114c 100644 (file)
@@ -344,7 +344,7 @@ class Linker {
         * @param $trail String
         * @param $prefix String
         * @return string HTML of link
-        * @deprecated @since 1.17
+        * @deprecated since 1.17
         */
        function makeSizeLinkObj( $size, $nt, $text = '', $query = '', $trail = '', $prefix = '' ) {
                global $wgUser;
@@ -1765,7 +1765,7 @@ class Linker {
        /* Deprecated methods */
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * This function is a shortcut to makeLinkObj(Title::newFromText($title),...). Do not call
         * it if you already have a title object handy. See makeLinkObj for further documentation.
@@ -1792,7 +1792,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * This function is a shortcut to makeKnownLinkObj(Title::newFromText($title),...). Do not call
         * it if you already have a title object handy. See makeKnownLinkObj for further documentation.
@@ -1817,7 +1817,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * This function is a shortcut to makeBrokenLinkObj(Title::newFromText($title),...). Do not call
         * it if you already have a title object handy. See makeBrokenLinkObj for further documentation.
@@ -1840,7 +1840,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * This function is a shortcut to makeStubLinkObj(Title::newFromText($title),...). Do not call
         * it if you already have a title object handy. See makeStubLinkObj for further documentation.
@@ -1864,7 +1864,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * Make a link for a title which may or may not be in the database. If you need to
         * call this lots of times, pre-fill the link cache with a LinkBatch, otherwise each
@@ -1894,7 +1894,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * Make a link for a title which definitely exists. This is faster than makeLinkObj because
         * it doesn't have to do a database query. It's also valid for interwiki titles and special
@@ -1930,7 +1930,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * Make a red link to the edit page of a given title.
         *
@@ -1958,7 +1958,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * Make a brown link to a short article.
         *
@@ -1975,7 +1975,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.16 Use link()
+        * @deprecated since 1.16 Use link()
         *
         * Make a coloured link.
         *
@@ -2005,7 +2005,7 @@ class Linker {
 
        /**
         * Creates the HTML source for images
-        * @deprecated @since 1.16 use makeImageLink2
+        * @deprecated since 1.16 use makeImageLink2
         *
         * @param $title Title object
         * @param $label String: label text
@@ -2071,7 +2071,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.14
+        * @deprecated since 1.14
         * Returns raw bits of HTML, use titleAttrib() and accesskey()
         */
        public function tooltipAndAccesskey( $name ) {
@@ -2079,7 +2079,7 @@ class Linker {
        }
 
        /**
-        * @deprecated @since 1.14
+        * @deprecated since 1.14
         * Returns raw bits of HTML, use titleAttrib()
         */
        public function tooltip( $name, $options = null ) {
index b7e5e9d..277225e 100644 (file)
@@ -1092,7 +1092,7 @@ class OutputPage {
 
        /**
         * Return whether user JavaScript is allowed for this page
-        * @deprecated @since 1.18 Load modules with ResourceLoader, and origin and
+        * @deprecated since 1.18 Load modules with ResourceLoader, and origin and
         *     trustworthiness is identified and enforced automagically. 
         * @return Boolean
         */
@@ -3075,7 +3075,7 @@ class OutputPage {
         * @param $modules Array: list of jQuery modules which should be loaded
         * @return Array: the list of modules which were not loaded.
         * @since 1.16
-        * @deprecated @since 1.17
+        * @deprecated since 1.17
         */
        public function includeJQuery( $modules = array() ) {
                return array();
index a992bc9..a48cbae 100644 (file)
@@ -1955,7 +1955,7 @@ class Title {
         * Is this a *valid* .css or .js subpage of a user page?
         *
         * @return Bool
-        * @deprecated @since 1.17
+        * @deprecated since 1.17
         */
        public function isValidCssJsSubpage() {
                return $this->isCssJsSubpage();
index 5418a0d..c9d196d 100644 (file)
@@ -2697,7 +2697,7 @@ class User {
         * which will give them a chance to modify this key based on their own
         * settings.
         *
-        * @deprecated @since 1.17 use the ParserOptions object to get the relevant options
+        * @deprecated since 1.17 use the ParserOptions object to get the relevant options
         * @return String Page rendering hash
         */
        function getPageRenderingHash() {
index 6f4736e..22f4edb 100644 (file)
@@ -590,12 +590,12 @@ class IPBlockForm extends SpecialPage {
                }
        }
 
-       # @deprecated @since 1.18
+       # @deprecated since 1.18
        public static function suppressUserName( $name, $userId, $dbw = null ) {
                return RevisionDeleteUser::suppressUserName( $name, $userId, $dbw );
        }
 
-       # @deprecated @since 1.18
+       # @deprecated since 1.18
        public static function unsuppressUserName( $name, $userId, $dbw = null ) {
                return RevisionDeleteUser::unsuppressUserName( $name, $userId, $dbw );
        }