Merge "BoilerPlate: add std. composer and npm/grunt setup"
[T119942Repr.git] / BoilerPlate / specials / SpecialHelloWorld.php
blob61f537c085f03b79dc271d323e2009e36dd87dc5
1 <?php
2 /**
3 * HelloWorld SpecialPage for BoilerPlate extension
5 * @file
6 * @ingroup Extensions
7 */
9 class SpecialHelloWorld extends SpecialPage {
10 public function __construct() {
11 parent::__construct( 'HelloWorld' );
14 /**
15 * Show the page to the user
17 * @param string $sub The subpage string argument (if any).
18 * [[Special:HelloWorld/subpage]].
20 public function execute( $sub ) {
21 $out = $this->getOutput();
23 $out->setPageTitle( $this->msg( 'boilerplate-helloworld' ) );
25 $out->addWikiMsg( 'boilerplate-helloworld-intro' );
28 protected function getGroupName() {
29 return 'other';