From 7e3aff10482d1b218a74ecb11027255a74e02d53 Mon Sep 17 00:00:00 2001 From: Robert Vogel Date: Wed, 19 Feb 2025 09:21:37 +0100 Subject: [PATCH] Refactor missing class aliases Some aliases have been removed in https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/6044 This change update the respective class names. --- src/LabelFetcher.php | 2 +- src/PropertyAnnotators/ExifPropertyAnnotator.php | 2 +- src/PropertyAnnotators/UserEditCountPerNsPropertyAnnotator.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LabelFetcher.php b/src/LabelFetcher.php index 0c411ac..fe1dbef 100644 --- a/src/LabelFetcher.php +++ b/src/LabelFetcher.php @@ -4,7 +4,7 @@ use Onoi\Cache\Cache; use Onoi\Cache\NullCache; -use SMW\Message; +use SMW\Localizer\Message; /** * @ingroup SESP diff --git a/src/PropertyAnnotators/ExifPropertyAnnotator.php b/src/PropertyAnnotators/ExifPropertyAnnotator.php index d7f5cee..61bcff6 100644 --- a/src/PropertyAnnotators/ExifPropertyAnnotator.php +++ b/src/PropertyAnnotators/ExifPropertyAnnotator.php @@ -8,7 +8,7 @@ use SMW\DIProperty; use SMW\DIWikiPage; use SMW\SemanticData; -use SMWContainerSemanticData as ContainerSemanticData; +use SMW\DataModel\ContainerSemanticData as ContainerSemanticData; use SMWDataItem as DataItem; use SMWDIBlob as DIBlob; use SMWDIContainer as DIContainer; diff --git a/src/PropertyAnnotators/UserEditCountPerNsPropertyAnnotator.php b/src/PropertyAnnotators/UserEditCountPerNsPropertyAnnotator.php index 3127afc..b4f6bfb 100755 --- a/src/PropertyAnnotators/UserEditCountPerNsPropertyAnnotator.php +++ b/src/PropertyAnnotators/UserEditCountPerNsPropertyAnnotator.php @@ -7,7 +7,7 @@ use SMW\DIProperty; use SMW\DIWikiPage; use SMW\SemanticData; -use SMWContainerSemanticData as ContainerSemanticData; +use SMW\DataModel\ContainerSemanticData as ContainerSemanticData; use SMWDataItem as DataItem; use SMWDIContainer as DIContainer; use SMWDINumber as DINumber;