Merge "Avoid dependency on Minerva for the mobile "Add topic" button label"

This commit is contained in:
jenkins-bot 2022-08-11 13:43:57 +00:00 committed by Gerrit Code Review
commit 1eb59a6682

View file

@ -406,8 +406,7 @@ class PageHooks implements
$output->addHTML(
( new ButtonWidget( [
'href' => $title->getLinkURL( [ 'action' => 'edit', 'section' => 'new' ] ),
// TODO: Make this a local message if the Minerva feature goes away
'label' => $context->msg( 'minerva-talk-add-topic' )->text(),
'label' => $context->msg( 'skin-action-addsection' )->text(),
'flags' => [ 'progressive', 'primary' ],
'classes' => [ 'ext-discussiontools-init-new-topic' ]
] ) )