diff --git a/extension.json b/extension.json index 4414ffa..5ebb1b9 100644 --- a/extension.json +++ b/extension.json @@ -7,7 +7,7 @@ "license-name": "AGPL", "type": "other", "AutoloadNamespaces": { - "MediaWiki\\Extension\\BigBuffet\\": "includes/" + "MediaWiki\\Extension\\BigBuffet\\": "src/" }, "SpecialPages": { "BigBuffet": "MediaWiki\\Extension\\BigBuffet\\SpecialBigBuffet" diff --git a/includes/SpecialBigBuffet.php b/src/SpecialBigBuffet.php similarity index 54% rename from includes/SpecialBigBuffet.php rename to src/SpecialBigBuffet.php index d887421..171053b 100644 --- a/includes/SpecialBigBuffet.php +++ b/src/SpecialBigBuffet.php @@ -21,20 +21,20 @@ class SpecialBigBuffet extends \SpecialPage $basename = $config->get('BigBuffetBasename'); $baseurl = $config->get('BigBuffetBaseUrl'); - $wikitext = ' - -
- - '; - $output->addHTML($wikitext); + $html = ' + + + +'; + $output->addHTML($html); } }