mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
Merge "Avoid dependency on Minerva for the mobile "Add topic" button label"
This commit is contained in:
commit
1eb59a6682
|
@ -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' ]
|
||||
] ) )
|
||||
|
|
Loading…
Reference in a new issue