diff --git a/src/Job.php b/src/Job.php index 45dc20e6..e039da70 100644 --- a/src/Job.php +++ b/src/Job.php @@ -21,9 +21,10 @@ */ namespace MediaWiki\Extension\ReplaceText; -use ContentHandler; use Job as JobParent; use MediaWiki\CommentStore\CommentStoreComment; +use MediaWiki\Content\ContentHandler; +use MediaWiki\Content\TextContent; use MediaWiki\Context\RequestContext; use MediaWiki\Page\MovePageFactory; use MediaWiki\Page\WikiPageFactory; @@ -32,7 +33,6 @@ use MediaWiki\Title\Title; use MediaWiki\User\UserFactory; use MediaWiki\Watchlist\WatchlistManager; use RecentChange; -use TextContent; use Wikimedia\ScopedCallback; /** diff --git a/src/SpecialReplaceText.php b/src/SpecialReplaceText.php index d49721aa..2fb3aea4 100644 --- a/src/SpecialReplaceText.php +++ b/src/SpecialReplaceText.php @@ -21,9 +21,9 @@ namespace MediaWiki\Extension\ReplaceText; use ErrorPageError; use JobQueueGroup; -use Language; use MediaWiki\HookContainer\HookContainer; use MediaWiki\Html\Html; +use MediaWiki\Language\Language; use MediaWiki\Linker\LinkRenderer; use MediaWiki\Page\MovePageFactory; use MediaWiki\Page\WikiPageFactory;