Add a "help" button for action=info
authorDannyS712 <DannyS712.enwiki@gmail.com>
Mon, 3 Jun 2019 02:42:30 +0000 (02:42 +0000)
committerDannyS712 <DannyS712.enwiki@gmail.com>
Mon, 3 Jun 2019 02:44:11 +0000 (02:44 +0000)
Bug: T224848
Change-Id: Id72fb9134ce889b9610ca088e53799804580903e

includes/actions/InfoAction.php

index bfba59a..ab95b97 100644 (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();