Tpt has uploaded a new change for review. https://gerrit.wikimedia.org/r/214004
Change subject: Makes unit tests of WikibaseClient pass when BetaFeature is installed ...................................................................... Makes unit tests of WikibaseClient pass when BetaFeature is installed Change-Id: Id01b4be55fc12fc6f1c23218f77b913521c888fc --- M client/includes/Hooks/SidebarHookHandlers.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/04/214004/1 diff --git a/client/includes/Hooks/SidebarHookHandlers.php b/client/includes/Hooks/SidebarHookHandlers.php index 7e82a8d..6faf539 100644 --- a/client/includes/Hooks/SidebarHookHandlers.php +++ b/client/includes/Hooks/SidebarHookHandlers.php @@ -230,7 +230,7 @@ $betaFeatureEnabled = class_exists( '\BetaFeatures' ) && $this->otherProjectsLinksBeta && - \BetaFeatures::isFeatureEnabled( $skin->getUser(), 'wikibase-otherprojects' ); + \BetaFeatures::isFeatureEnabled( $skin->getContext()->getUser(), 'wikibase-otherprojects' ); if ( $this->otherProjectsLinksDefault || $betaFeatureEnabled ) { $otherProjectsSidebar = $outputPage->getProperty( 'wikibase-otherprojects-sidebar' ); -- To view, visit https://gerrit.wikimedia.org/r/214004 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id01b4be55fc12fc6f1c23218f77b913521c888fc Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Tpt <thoma...@hotmail.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits