Pwirth has uploaded a new change for review.
https://gerrit.wikimedia.org/r/168942
Change subject: BsExtensionMw: Cache key getter
......................................................................
BsExtensionMw: Cache key getter
* added getCacheKey method
Change-Id: Id54d5f56f53ae98f3d77ac476f8a8705441b7b92
---
M includes/ExtensionMW.class.php
1 file changed, 12 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation
refs/changes/42/168942/1
diff --git a/includes/ExtensionMW.class.php b/includes/ExtensionMW.class.php
index 63a3392..657754d 100644
--- a/includes/ExtensionMW.class.php
+++ b/includes/ExtensionMW.class.php
@@ -119,4 +119,16 @@
return dirname( $this->getResourcePath() ).'/images/';
}
+ /**
+ * Returns the cache key for this particlular extension
+ * @param string $sSubKey
+ * @return string
+ */
+ public function getCacheKey( $sSubKey = 'default' ) {
+ return BsCacheHelper::getCacheKey(
+ 'BlueSpice',
+ $this->getName(),
+ $sSubKey
+ );
+ }
}
\ No newline at end of file
--
To view, visit https://gerrit.wikimedia.org/r/168942
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id54d5f56f53ae98f3d77ac476f8a8705441b7b92
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits