dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191230c
)
[FileBackend] Added FileBackend::getWikiID() function.
author
Aaron
<aschulz@wikimedia.org>
Mon, 24 Sep 2012 22:38:37 +0000
(15:38 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Mon, 24 Sep 2012 22:38:37 +0000
(15:38 -0700)
Change-Id: Idd9be6c72d494fad37ac62e274c1e115ff97cdec
includes/filebackend/FileBackend.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/FileBackend.php
b/includes/filebackend/FileBackend.php
index
042cb67
..
306bf35
100644
(file)
--- 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
*