diff options
author | Arlo Breault <abreault@wikimedia.org> | 2024-07-23 17:18:04 -0400 |
---|---|---|
committer | Arlo Breault <abreault@wikimedia.org> | 2024-07-25 11:44:17 -0400 |
commit | 44580945ed37fdd4c906ad56ec439220d5508916 (patch) | |
tree | 540fa96960a8d35130693e1924816f2eef21cfe8 /includes/MainConfigSchema.php | |
parent | 426bf0f2809f74c53e2764980141d66f8f40b4a1 (diff) | |
download | mediawikicore-44580945ed37fdd4c906ad56ec439220d5508916.tar.gz mediawikicore-44580945ed37fdd4c906ad56ec439220d5508916.zip |
Add OutputPipelineStages from extensions
Adds an experimental configuration to allow extensions to define
OutputPipelineStages to include in the DefaultOutputPipeline.
There are a lot of open questions about this api, like ordering of
execution, but adding it @experimental will help surface the
requirements.
Bug: T370541
Needed-By: I6dc92af0611c680b6e55605a7c9ff8a3fc1dfa26
Change-Id: I64baea40a1687c7a06fbcda9efe9f9a159b0ae8d
Diffstat (limited to 'includes/MainConfigSchema.php')
-rw-r--r-- | includes/MainConfigSchema.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/MainConfigSchema.php b/includes/MainConfigSchema.php index 23566e278dd5..3ee9f64b6edf 100644 --- a/includes/MainConfigSchema.php +++ b/includes/MainConfigSchema.php @@ -12902,6 +12902,17 @@ class MainConfigSchema { 'default' => false, 'type' => 'boolean', ]; + + /** + * OutputPipelineStages to add to the DefaultOutputPipeline. + * + * @unstable EXPERIMENTAL + * @since 1.43 + */ + public const OutputPipelineStages = [ + 'default' => [], + 'type' => 'map', + ]; // endregion -- End Miscellaneous } |