diff --git a/extension.json b/extension.json index 3f3e55c..341a342 100644 --- a/extension.json +++ b/extension.json @@ -15,7 +15,7 @@ }, "APIPropModules": { "extracts": { - "class": "TextExtracts\\ApiQueryExtracts", + "class": "MediaWiki\\Extension\\TextExtracts\\ApiQueryExtracts", "services": [ "ConfigFactory", "MainWANObjectCache", @@ -32,7 +32,7 @@ ] }, "AutoloadNamespaces": { - "TextExtracts\\": "includes/" + "MediaWiki\\Extension\\TextExtracts\\": "includes/" }, "Hooks": { "ApiOpenSearchSuggest": "main", @@ -40,7 +40,7 @@ }, "HookHandlers": { "main": { - "class": "TextExtracts\\Hooks", + "class": "MediaWiki\\Extension\\TextExtracts\\Hooks", "services": [ "ConfigFactory" ] diff --git a/includes/ApiQueryExtracts.php b/includes/ApiQueryExtracts.php index 1508eff..a583df0 100644 --- a/includes/ApiQueryExtracts.php +++ b/includes/ApiQueryExtracts.php @@ -1,6 +1,6 @@