Merge "Add 'since <version>' to @deprecated annotations"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 22 Apr 2014 19:46:38 +0000 (19:46 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 22 Apr 2014 19:46:38 +0000 (19:46 +0000)
includes/DefaultSettings.php
includes/Namespace.php
includes/db/ORMTable.php
includes/site/MediaWikiSite.php

index b6860b9..2c63b6f 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 78c4643..bfd41b6 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 a06c12c..51b81da 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 248066b..2a86b31 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 int $globalId
         *