Use namespaced classes

Change-Id: I2da5bc5871d8e7e229dcae44a303910fd9d21994
This commit is contained in:
Fomafix 2023-10-03 06:36:46 +00:00
parent 17163cd662
commit 64b8b68377

View file

@ -10,13 +10,12 @@ namespace MediaWiki\Extension\WikiEditor;
use ApiMessage; use ApiMessage;
use Article; use Article;
use Config;
use Content; use Content;
use ExtensionRegistry; use ExtensionRegistry;
use Html;
use MediaWiki\Cache\CacheKeyHelper; use MediaWiki\Cache\CacheKeyHelper;
use MediaWiki\ChangeTags\Hook\ChangeTagsListActiveHook; use MediaWiki\ChangeTags\Hook\ChangeTagsListActiveHook;
use MediaWiki\ChangeTags\Hook\ListDefinedTagsHook; use MediaWiki\ChangeTags\Hook\ListDefinedTagsHook;
use MediaWiki\Config\Config;
use MediaWiki\EditPage\EditPage; use MediaWiki\EditPage\EditPage;
use MediaWiki\Extension\DiscussionTools\Hooks as DiscussionToolsHooks; use MediaWiki\Extension\DiscussionTools\Hooks as DiscussionToolsHooks;
use MediaWiki\Extension\EventLogging\EventLogging; use MediaWiki\Extension\EventLogging\EventLogging;
@ -26,20 +25,21 @@ use MediaWiki\Hook\EditPage__showEditForm_fieldsHook;
use MediaWiki\Hook\EditPage__showEditForm_initialHook; use MediaWiki\Hook\EditPage__showEditForm_initialHook;
use MediaWiki\Hook\EditPageGetPreviewContentHook; use MediaWiki\Hook\EditPageGetPreviewContentHook;
use MediaWiki\Hook\RecentChange_saveHook; use MediaWiki\Hook\RecentChange_saveHook;
use MediaWiki\Html\Html;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Output\OutputPage;
use MediaWiki\Preferences\Hook\GetPreferencesHook; use MediaWiki\Preferences\Hook\GetPreferencesHook;
use MediaWiki\Request\WebRequest;
use MediaWiki\ResourceLoader as RL; use MediaWiki\ResourceLoader as RL;
use MediaWiki\Status\Status;
use MediaWiki\User\User;
use MediaWiki\User\UserEditTracker; use MediaWiki\User\UserEditTracker;
use MediaWiki\User\UserOptionsLookup; use MediaWiki\User\UserOptionsLookup;
use MediaWiki\WikiMap\WikiMap; use MediaWiki\WikiMap\WikiMap;
use MessageLocalizer; use MessageLocalizer;
use MWCryptRand; use MWCryptRand;
use OutputPage;
use RecentChange; use RecentChange;
use RequestContext; use RequestContext;
use Status;
use User;
use WebRequest;
use WikimediaEvents\WikimediaEventsHooks; use WikimediaEvents\WikimediaEventsHooks;
/** /**