Merge "[FileBackend] Optimized concatenate() to use getLocalReferenceMulti()."
[lhc/web/wiklou.git] / includes / filebackend / FileBackend.php
index eaf9103..c10d105 100644 (file)
@@ -128,6 +128,17 @@ abstract class FileBackend {
                return $this->name;
        }
 
+       /**
+        * Get the wiki identifier used for this backend (possibly empty).
+        * Note that this might *not* be in the same format as wfWikiID().
+        *
+        * @return string
+        * @since 1.20
+        */
+       final public function getWikiId() {
+               return $this->wikiId;
+       }
+
        /**
         * Check if this backend is read-only
         *