From b445765987e98a874e317acbfd5597eb55ac315f Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Tue, 5 Nov 2024 10:39:47 +0100 Subject: [PATCH] Rename `ImageMetacodeUpcast` to `AbstractImageMetacodeUpcast` to avoid confusion with BBCode. --- com.woltlab.wcf/fileDelete.xml | 1 + ...deUpcast.class.php => AbstractImageMetacodeUpcast.class.php} | 2 +- .../system/html/metacode/upcast/AttachMetacodeUpcast.class.php | 2 +- .../lib/system/html/metacode/upcast/WsmMetacodeUpcast.class.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) rename wcfsetup/install/files/lib/system/html/metacode/upcast/{ImageMetacodeUpcast.class.php => AbstractImageMetacodeUpcast.class.php} (95%) diff --git a/com.woltlab.wcf/fileDelete.xml b/com.woltlab.wcf/fileDelete.xml index 4ee7773d99..22e224e2b3 100644 --- a/com.woltlab.wcf/fileDelete.xml +++ b/com.woltlab.wcf/fileDelete.xml @@ -2790,6 +2790,7 @@ lib/system/html/input/node/HtmlInputNodeWoltlabColor.class.php lib/system/html/input/node/HtmlInputNodeWoltlabMention.class.php lib/system/html/input/node/IHtmlInputNodeProcessor.class.php + lib/system/html/metacode/upcast/ImageMetacodeUpcast.class.php lib/system/html/node/HtmlNodeProcessor.class.php lib/system/html/output/AmpHtmlOutputProcessor.class.php lib/system/html/output/HtmlOutputNodeProcessor.class.php diff --git a/wcfsetup/install/files/lib/system/html/metacode/upcast/ImageMetacodeUpcast.class.php b/wcfsetup/install/files/lib/system/html/metacode/upcast/AbstractImageMetacodeUpcast.class.php similarity index 95% rename from wcfsetup/install/files/lib/system/html/metacode/upcast/ImageMetacodeUpcast.class.php rename to wcfsetup/install/files/lib/system/html/metacode/upcast/AbstractImageMetacodeUpcast.class.php index f5ce346df8..1897cb402a 100644 --- a/wcfsetup/install/files/lib/system/html/metacode/upcast/ImageMetacodeUpcast.class.php +++ b/wcfsetup/install/files/lib/system/html/metacode/upcast/AbstractImageMetacodeUpcast.class.php @@ -12,7 +12,7 @@ use wcf\util\DOMUtil; * @license GNU Lesser General Public License * @since 6.1 */ -abstract class ImageMetacodeUpcast implements IMetacodeUpcast +abstract class AbstractImageMetacodeUpcast implements IMetacodeUpcast { /** * Create the figure element for the image. diff --git a/wcfsetup/install/files/lib/system/html/metacode/upcast/AttachMetacodeUpcast.class.php b/wcfsetup/install/files/lib/system/html/metacode/upcast/AttachMetacodeUpcast.class.php index ad26b002f9..b48b98ab1c 100644 --- a/wcfsetup/install/files/lib/system/html/metacode/upcast/AttachMetacodeUpcast.class.php +++ b/wcfsetup/install/files/lib/system/html/metacode/upcast/AttachMetacodeUpcast.class.php @@ -15,7 +15,7 @@ use wcf\util\StringUtil; * @license GNU Lesser General Public License * @since 6.1 */ -final class AttachMetacodeUpcast extends ImageMetacodeUpcast +final class AttachMetacodeUpcast extends AbstractImageMetacodeUpcast { #[\Override] public function upcast(\DOMElement $element, array $attributes): void diff --git a/wcfsetup/install/files/lib/system/html/metacode/upcast/WsmMetacodeUpcast.class.php b/wcfsetup/install/files/lib/system/html/metacode/upcast/WsmMetacodeUpcast.class.php index 3b1e4c950e..0239c94db4 100644 --- a/wcfsetup/install/files/lib/system/html/metacode/upcast/WsmMetacodeUpcast.class.php +++ b/wcfsetup/install/files/lib/system/html/metacode/upcast/WsmMetacodeUpcast.class.php @@ -15,7 +15,7 @@ use wcf\util\StringUtil; * @license GNU Lesser General Public License * @since 6.1 */ -final class WsmMetacodeUpcast extends ImageMetacodeUpcast +final class WsmMetacodeUpcast extends AbstractImageMetacodeUpcast { #[\Override] public function upcast(\DOMElement $element, array $attributes): void -- 2.20.1