From dfb0d94c996aaac6f1be017ee7a5355059ec43ba Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 24 Sep 2012 15:38:37 -0700 Subject: [PATCH] [FileBackend] Added FileBackend::getWikiID() function. Change-Id: Idd9be6c72d494fad37ac62e274c1e115ff97cdec --- includes/filebackend/FileBackend.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/includes/filebackend/FileBackend.php b/includes/filebackend/FileBackend.php index 042cb675ba..306bf353d6 100644 --- a/includes/filebackend/FileBackend.php +++ b/includes/filebackend/FileBackend.php @@ -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 * -- 2.20.1