Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65691


Change subject: Deprecate Site::newForType since it is so bad
......................................................................

Deprecate Site::newForType since it is so bad

Change-Id: I79b8ea5ebf3e5f92251eb28335c5e4922c0c3736
---
M includes/site/Site.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/91/65691/1

diff --git a/includes/site/Site.php b/includes/site/Site.php
index 076dc88..acfb808 100644
--- a/includes/site/Site.php
+++ b/includes/site/Site.php
@@ -630,6 +630,11 @@
        }
 
        /**
+        * @deprecated since 1.22.
+        * This API does not provide control over the object lifecycle,
+        * uses global state and pretends to work when it cannot handle
+        * the request properly.
+        *
         * @since 1.21
         *
         * @param string $siteType

-- 
To view, visit https://gerrit.wikimedia.org/r/65691
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I79b8ea5ebf3e5f92251eb28335c5e4922c0c3736
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to