From 3352548b50369b726064a4bc87c124a4023f9ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 25 Nov 2024 23:43:49 +0100 Subject: [PATCH] cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- extension.json | 2 +- {includes => src}/SpecialBigBuffet.php | 30 +++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) rename {includes => src}/SpecialBigBuffet.php (54%) 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); } }