diff --git a/includes/menu/PageActions/ToolbarBuilder.php b/includes/menu/PageActions/ToolbarBuilder.php index 0157700d7..342684199 100644 --- a/includes/menu/PageActions/ToolbarBuilder.php +++ b/includes/menu/PageActions/ToolbarBuilder.php @@ -153,7 +153,7 @@ class ToolbarBuilder { $pageUser = $this->userPageHelper->getPageUser(); $label = $this->messageLocalizer->msg( 'mobile-frontend-user-page-contributions' ); - $entry = SingleMenuEntry::create( + $entry = new SingleMenuEntry( 'page-actions-contributions', $label, SpecialPage::getTitleFor( 'Contributions', $pageUser )->getLocalURL() );