Robert Vogel has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/396577 )
Change subject: BSFoundation: Added bsg config to BsSpecialpage base class ...................................................................... BSFoundation: Added bsg config to BsSpecialpage base class Change-Id: I36d704030ebc91dc7e18879284b8035f286c13e0 --- M includes/SpecialPage.class.php 1 file changed, 11 insertions(+), 1 deletion(-) Approvals: Robert Vogel: Verified; Looks good to me, approved diff --git a/includes/SpecialPage.class.php b/includes/SpecialPage.class.php index a7495c7..b2c987a 100644 --- a/includes/SpecialPage.class.php +++ b/includes/SpecialPage.class.php @@ -36,4 +36,14 @@ protected function getGroupName() { return 'bluespice'; } -} \ No newline at end of file + + /** + * Shortcut to get main config object + * @return \Config + * @since 1.24 + */ + public function getConfig() { + return \MediaWiki\MediaWikiServices::getInstance() + ->getConfigFactory()->makeConfig( 'bsg' ); + } +} -- To view, visit https://gerrit.wikimedia.org/r/396577 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I36d704030ebc91dc7e18879284b8035f286c13e0 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation Gerrit-Branch: master Gerrit-Owner: Pwirth <wi...@hallowelt.biz> Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits