Add a "help" button for action=info

Bug: T224848
Change-Id: Id72fb9134ce889b9610ca088e53799804580903e
This commit is contained in:
DannyS712 2019-06-03 02:42:30 +00:00
parent d29a5c0808
commit 052d6f7029

View file

@ -103,6 +103,9 @@ class InfoAction extends FormlessAction {
}
}
// "Help" button
$this->addHelpLink( 'Page information' );
// Page header
if ( !$this->msg( 'pageinfo-header' )->isDisabled() ) {
$content .= $this->msg( 'pageinfo-header' )->parse();