Add 'since <version>' to @deprecated annotations
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 15 Apr 2014 20:27:35 +0000 (22:27 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 15 Apr 2014 20:30:01 +0000 (22:30 +0200)
Change-Id: Ief96d55aa95f657a38a62ae3dde1ef7a415ff675

includes/DefaultSettings.php
includes/Namespace.php
includes/db/ORMTable.php
includes/site/MediaWikiSite.php

index 663098f..4b927fd 100644 (file)
@@ -1625,10 +1625,10 @@ $wgAllDBsAreLocalhost = false;
  * $wgSharedPrefix is the table prefix for the shared database. It defaults to
  * $wgDBprefix.
  *
- * @deprecated In new code, use the $wiki parameter to wfGetLB() to access
- *   remote databases. Using wfGetLB() allows the shared database to reside on
- *   separate servers to the wiki's own database, with suitable configuration
- *   of $wgLBFactoryConf.
+ * @deprecated since 1.21 In new code, use the $wiki parameter to wfGetLB() to
+ *   access remote databases. Using wfGetLB() allows the shared database to
+ *   reside on separate servers to the wiki's own database, with suitable
+ *   configuration of $wgLBFactoryConf.
  */
 $wgSharedDB = null;
 
index ce585ce..76f821f 100644 (file)
@@ -90,7 +90,7 @@ class MWNamespace {
 
        /**
         * @see self::isSubject
-        * @deprecated Please use the more consistently named isSubject (since 1.19)
+        * @deprecated since 1.19 Please use the more consistently named isSubject
         * @return bool
         */
        public static function isMain( $index ) {
index 3f91e0a..dc627a4 100644 (file)
@@ -888,7 +888,7 @@ class ORMTable extends DBAccessBase implements IORMTable {
        /**
         * @see ORMTable::newRowFromFromDBResult
         *
-        * @deprecated use newRowFromDBResult instead
+        * @deprecated since 1.20 use newRowFromDBResult instead
         * @since 1.20
         *
         * @param stdClass $result
@@ -915,7 +915,7 @@ class ORMTable extends DBAccessBase implements IORMTable {
        /**
         * @see ORMTable::newRow
         *
-        * @deprecated use newRow instead
+        * @deprecated since 1.20 use newRow instead
         * @since 1.20
         *
         * @param array $data
index f3b8a0c..5f71b4f 100644 (file)
@@ -39,7 +39,7 @@ class MediaWikiSite extends Site {
 
        /**
         * @since 1.21
-        * @deprecated Just use the constructor or the factory Site::newForType
+        * @deprecated since 1.21 Just use the constructor or the factory Site::newForType
         *
         * @param integer $globalId
         *