[FileBackend] Added FileBackend::getWikiID() function.
authorAaron <aschulz@wikimedia.org>
Mon, 24 Sep 2012 22:38:37 +0000 (15:38 -0700)
committerAaron <aschulz@wikimedia.org>
Mon, 24 Sep 2012 22:38:37 +0000 (15:38 -0700)
Change-Id: Idd9be6c72d494fad37ac62e274c1e115ff97cdec

includes/filebackend/FileBackend.php

index 042cb67..306bf35 100644 (file)
@@ -128,6 +128,16 @@ abstract class FileBackend {
                return $this->name;
        }
 
+       /**
+        * Get the wiki identifier used for this backend (possibly empty)
+        *
+        * @return string
+        * @since 1.20
+        */
+       final public function getWikiId() {
+               return $this->wikiId;
+       }
+
        /**
         * Check if this backend is read-only
         *