filebackend: deprecate FileBackend::getWikiId()
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 5 Jul 2019 01:20:35 +0000 (18:20 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 7 Aug 2019 14:10:37 +0000 (14:10 +0000)
Change-Id: Ib593178e95c572c28c873645128ef85513ef2de7

RELEASE-NOTES-1.34
includes/libs/filebackend/FileBackend.php

index 56a886e..06cd3d3 100644 (file)
@@ -415,6 +415,8 @@ because of Phabricator reports.
   template option 'searchaction' instead.
 * LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have
   been deprecated.
+* FileBackend::getWikiId() has been deprecated.
+  Use FileBackend::getDomainId() instead.
 * User::getRights() and User::$mRights have been deprecated. Use
   PermissionManager::getUserPermissions() instead.
 * The LocalisationCacheRecache hook no longer allows purging of message blobs
index 4ad48c7..f65619f 100644 (file)
@@ -225,6 +225,7 @@ abstract class FileBackend implements LoggerAwareInterface {
         * Alias to getDomainId()
         * @return string
         * @since 1.20
+        * @deprecated Since 1.34 Use getDomainId()
         */
        final public function getWikiId() {
                return $this->getDomainId();