Skip to content
This repository was archived by the owner on Nov 2, 2025. It is now read-only.

Commit 7f0c0b3

Browse files
Use namespaced classes
1 parent 53cdcc8 commit 7f0c0b3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license-name": "GPL-3.0-or-later",
88
"type": "interface",
99
"requires": {
10-
"MediaWiki": ">= 1.42.0",
10+
"MediaWiki": ">= 1.43.0",
1111
"platform": {
1212
"php": ">= 8.0"
1313
}

includes/HookHandlers/Main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use JobSpecification;
77
use MediaWiki\Config\Config;
88
use MediaWiki\Config\ConfigFactory;
9+
use MediaWiki\Content\TextContent;
910
use MediaWiki\Context\RequestContext;
1011
use MediaWiki\Html\Html;
1112
use MediaWiki\JobQueue\JobQueueGroupFactory;
@@ -18,7 +19,6 @@
1819
use Miraheze\MachineTranslation\Jobs\MachineTranslationJob;
1920
use Miraheze\MachineTranslation\Services\MachineTranslationLanguageFetcher;
2021
use Miraheze\MachineTranslation\Services\MachineTranslationUtils;
21-
use TextContent;
2222

2323
class Main {
2424

includes/Services/MachineTranslationLanguageFetcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Miraheze\MachineTranslation\Services;
44

5-
use ConfigException;
5+
use MediaWiki\Config\ConfigException;
66
use MediaWiki\Config\ServiceOptions;
77
use MediaWiki\Http\HttpRequestFactory;
88
use MediaWiki\Logger\LoggerFactory;

includes/Services/MachineTranslationUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Miraheze\MachineTranslation\Services;
44

5-
use ConfigException;
5+
use MediaWiki\Config\ConfigException;
66
use MediaWiki\Config\ServiceOptions;
77
use MediaWiki\Http\HttpRequestFactory;
88
use MediaWiki\Logger\LoggerFactory;

0 commit comments

Comments
 (0)