From 8c2599f23ea814138fcb239829527d4c01216b62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 15 Apr 2014 22:27:35 +0200 Subject: [PATCH] Add 'since ' to @deprecated annotations Change-Id: Ief96d55aa95f657a38a62ae3dde1ef7a415ff675 --- includes/DefaultSettings.php | 8 ++++---- includes/Namespace.php | 2 +- includes/db/ORMTable.php | 4 ++-- includes/site/MediaWikiSite.php | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 663098f91b..4b927fd20a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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; diff --git a/includes/Namespace.php b/includes/Namespace.php index ce585cec2f..76f821fe1f 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -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 ) { diff --git a/includes/db/ORMTable.php b/includes/db/ORMTable.php index 3f91e0a33b..dc627a4fc6 100644 --- a/includes/db/ORMTable.php +++ b/includes/db/ORMTable.php @@ -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 diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index f3b8a0c7a6..5f71b4f702 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -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 * -- 2.20.1