diff options
author | Amir Sarabadani <ladsgroup@gmail.com> | 2023-09-05 19:31:53 +0200 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2023-09-05 19:36:42 +0100 |
commit | d8e542abf99bde6f56b2b53cde5852228b8d9b4e (patch) | |
tree | 0494658546a792273e0424be64b542bfbce11a1f /includes/Hook | |
parent | 9f3c7996eea821f9b00c3d2b599ff4649454a407 (diff) | |
download | mediawikicore-d8e542abf99bde6f56b2b53cde5852228b8d9b4e.tar.gz mediawikicore-d8e542abf99bde6f56b2b53cde5852228b8d9b4e.zip |
Reorg: Move three output related classes to includes/Output/
And namesapce them:
- StreamFile
- OutputHandler
- OutputPage
Bug: T321882
Change-Id: Iedf8d88c595e580f2d8f0734c92aa5c45618ba33
Diffstat (limited to 'includes/Hook')
20 files changed, 20 insertions, 20 deletions
diff --git a/includes/Hook/AfterFinalPageOutputHook.php b/includes/Hook/AfterFinalPageOutputHook.php index b269241b3008..103eec98032a 100644 --- a/includes/Hook/AfterFinalPageOutputHook.php +++ b/includes/Hook/AfterFinalPageOutputHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/BeforeInitializeHook.php b/includes/Hook/BeforeInitializeHook.php index f8aec2086f68..545ccc51d802 100644 --- a/includes/Hook/BeforeInitializeHook.php +++ b/includes/Hook/BeforeInitializeHook.php @@ -3,8 +3,8 @@ namespace MediaWiki\Hook; use MediaWiki; +use MediaWiki\Output\OutputPage; use MediaWiki\Title\Title; -use OutputPage; use User; use WebRequest; diff --git a/includes/Hook/BeforePageDisplayHook.php b/includes/Hook/BeforePageDisplayHook.php index 63caa3f8d51d..ef65068aca0a 100644 --- a/includes/Hook/BeforePageDisplayHook.php +++ b/includes/Hook/BeforePageDisplayHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; use Skin; /** diff --git a/includes/Hook/BeforePageRedirectHook.php b/includes/Hook/BeforePageRedirectHook.php index ce64d0a2de70..40c5ca5664bc 100644 --- a/includes/Hook/BeforePageRedirectHook.php +++ b/includes/Hook/BeforePageRedirectHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/EditPageBeforeConflictDiffHook.php b/includes/Hook/EditPageBeforeConflictDiffHook.php index 90c6eb825177..125e6871f95d 100644 --- a/includes/Hook/EditPageBeforeConflictDiffHook.php +++ b/includes/Hook/EditPageBeforeConflictDiffHook.php @@ -3,7 +3,7 @@ namespace MediaWiki\Hook; use MediaWiki\EditPage\EditPage; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/EditPage__showEditForm_fieldsHook.php b/includes/Hook/EditPage__showEditForm_fieldsHook.php index 6c509b3f5e6b..90ed3ec765a7 100644 --- a/includes/Hook/EditPage__showEditForm_fieldsHook.php +++ b/includes/Hook/EditPage__showEditForm_fieldsHook.php @@ -4,7 +4,7 @@ namespace MediaWiki\Hook; // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps use MediaWiki\EditPage\EditPage; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/EditPage__showEditForm_initialHook.php b/includes/Hook/EditPage__showEditForm_initialHook.php index 7fd495a04d8c..cf884452b20c 100644 --- a/includes/Hook/EditPage__showEditForm_initialHook.php +++ b/includes/Hook/EditPage__showEditForm_initialHook.php @@ -4,7 +4,7 @@ namespace MediaWiki\Hook; // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps use MediaWiki\EditPage\EditPage; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/EditPage__showReadOnlyForm_initialHook.php b/includes/Hook/EditPage__showReadOnlyForm_initialHook.php index 6fb02cb4d985..e60cd0d34443 100644 --- a/includes/Hook/EditPage__showReadOnlyForm_initialHook.php +++ b/includes/Hook/EditPage__showReadOnlyForm_initialHook.php @@ -4,7 +4,7 @@ namespace MediaWiki\Hook; // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps use MediaWiki\EditPage\EditPage; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/EditPage__showStandardInputs_optionsHook.php b/includes/Hook/EditPage__showStandardInputs_optionsHook.php index 3bbf996fd743..24782e7a6f5f 100644 --- a/includes/Hook/EditPage__showStandardInputs_optionsHook.php +++ b/includes/Hook/EditPage__showStandardInputs_optionsHook.php @@ -4,7 +4,7 @@ namespace MediaWiki\Hook; // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps use MediaWiki\EditPage\EditPage; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/GetCacheVaryCookiesHook.php b/includes/Hook/GetCacheVaryCookiesHook.php index def20d347ba9..59c70ec520fd 100644 --- a/includes/Hook/GetCacheVaryCookiesHook.php +++ b/includes/Hook/GetCacheVaryCookiesHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/MakeGlobalVariablesScriptHook.php b/includes/Hook/MakeGlobalVariablesScriptHook.php index 1349c5f89886..6322e1797e6a 100644 --- a/includes/Hook/MakeGlobalVariablesScriptHook.php +++ b/includes/Hook/MakeGlobalVariablesScriptHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/MediaWikiPerformActionHook.php b/includes/Hook/MediaWikiPerformActionHook.php index 79f72e199d0f..705a217dcbf2 100644 --- a/includes/Hook/MediaWikiPerformActionHook.php +++ b/includes/Hook/MediaWikiPerformActionHook.php @@ -4,8 +4,8 @@ namespace MediaWiki\Hook; use Article; use MediaWiki; +use MediaWiki\Output\OutputPage; use MediaWiki\Title\Title; -use OutputPage; use User; use WebRequest; diff --git a/includes/Hook/OutputPageAfterGetHeadLinksArrayHook.php b/includes/Hook/OutputPageAfterGetHeadLinksArrayHook.php index afc083e05b8b..3c3d857d8dc2 100644 --- a/includes/Hook/OutputPageAfterGetHeadLinksArrayHook.php +++ b/includes/Hook/OutputPageAfterGetHeadLinksArrayHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/OutputPageBeforeHTMLHook.php b/includes/Hook/OutputPageBeforeHTMLHook.php index c4f7196f089d..ff11c2c5bf21 100644 --- a/includes/Hook/OutputPageBeforeHTMLHook.php +++ b/includes/Hook/OutputPageBeforeHTMLHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/OutputPageBodyAttributesHook.php b/includes/Hook/OutputPageBodyAttributesHook.php index b8ae289f2ab9..850f979472f7 100644 --- a/includes/Hook/OutputPageBodyAttributesHook.php +++ b/includes/Hook/OutputPageBodyAttributesHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; use Skin; /** diff --git a/includes/Hook/OutputPageCheckLastModifiedHook.php b/includes/Hook/OutputPageCheckLastModifiedHook.php index 552bcc0deda5..6f4e11a60f7c 100644 --- a/includes/Hook/OutputPageCheckLastModifiedHook.php +++ b/includes/Hook/OutputPageCheckLastModifiedHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/OutputPageMakeCategoryLinksHook.php b/includes/Hook/OutputPageMakeCategoryLinksHook.php index 8b895b9d6d1e..197eaacc9037 100644 --- a/includes/Hook/OutputPageMakeCategoryLinksHook.php +++ b/includes/Hook/OutputPageMakeCategoryLinksHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/OutputPageParserOutputHook.php b/includes/Hook/OutputPageParserOutputHook.php index 3d534dd9bda6..0bb85e329eec 100644 --- a/includes/Hook/OutputPageParserOutputHook.php +++ b/includes/Hook/OutputPageParserOutputHook.php @@ -2,7 +2,7 @@ namespace MediaWiki\Hook; -use OutputPage; +use MediaWiki\Output\OutputPage; use ParserOutput; /** diff --git a/includes/Hook/ProtectionForm__showLogExtractHook.php b/includes/Hook/ProtectionForm__showLogExtractHook.php index 451754887ff4..e2a6a70b0e17 100644 --- a/includes/Hook/ProtectionForm__showLogExtractHook.php +++ b/includes/Hook/ProtectionForm__showLogExtractHook.php @@ -4,7 +4,7 @@ namespace MediaWiki\Hook; // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps use Article; -use OutputPage; +use MediaWiki\Output\OutputPage; /** * This is a hook handler interface, see docs/Hooks.md. diff --git a/includes/Hook/TestCanonicalRedirectHook.php b/includes/Hook/TestCanonicalRedirectHook.php index 1bfca2dcbc60..1406c2cc51c6 100644 --- a/includes/Hook/TestCanonicalRedirectHook.php +++ b/includes/Hook/TestCanonicalRedirectHook.php @@ -2,8 +2,8 @@ namespace MediaWiki\Hook; +use MediaWiki\Output\OutputPage; use MediaWiki\Title\Title; -use OutputPage; use WebRequest; /** |