diff options
author | mainframe98 <k.s.werf@hotmail.com> | 2019-09-06 11:21:29 +0200 |
---|---|---|
committer | mainframe98 <k.s.werf@hotmail.com> | 2019-09-08 12:57:54 +0200 |
commit | b7b490e46db294b5ebae8e79a0fdc79cb3aace98 (patch) | |
tree | a4e8fcdc6a3c3cabf6186fbe3ec53fbb6688c0cb /docs/extension.schema.v2.json | |
parent | ba40e8e26b4cec0785f43e47dd0123ca761a5101 (diff) | |
download | mediawikicore-b7b490e46db294b5ebae8e79a0fdc79cb3aace98.tar.gz mediawikicore-b7b490e46db294b5ebae8e79a0fdc79cb3aace98.zip |
Support the creation of special pages with services injected
Now that the ObjectFactory library supports object creation with
services (T222409), the special page factory can use the object
factory to create special pages based off a spec, allowing the
creation of special pages that need services injected.
The object factory now also handles constructing from class name
and from callable.
This also deprecates providing the special page list with an
instance of SpecialPage, which hasn't been necessary since
r15031.
Bug: T222388
Change-Id: Iabb78ce5c98cfb3b586644be35d984871cb750cb
Diffstat (limited to 'docs/extension.schema.v2.json')
-rw-r--r-- | docs/extension.schema.v2.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index 9d874f47f487..56d274bbc468 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -710,7 +710,7 @@ }, "SpecialPages": { "type": "object", - "description": "SpecialPages implemented in this extension (mapping of page name to class name)" + "description": "SpecialPages implemented in this extension (mapping of page name to class name or to ObjectFactory spec)" }, "AutoloadNamespaces": { "type": "object", |