3 * HelloWorld SpecialPage for BoilerPlate extension
9 class SpecialHelloWorld
extends SpecialPage
{
10 public function __construct() {
11 parent
::__construct( 'HelloWorld' );
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() {