X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=RELEASE-NOTES-1.24;h=92b34c66dd45beac4766971651c6a7300139e3ee;hb=57ec9e066978d4d0ffdca2e82d4f4116c39047bf;hp=4238332168a5c2cf86ff8f8b4ed8c7adda887abc;hpb=97289ad5761cf5a49a1fa74f2b4c03d1564542e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 4238332168..92b34c66dd 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -198,6 +198,14 @@ production. * (bug 60734) Actions that use ApiPageSet (e.g. purge, watch, setnotificationtimestamp) will now include continuation information when using a generator. +* $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules, + $wgAPIPropModules, and $wgAPIListModules settings) now allow API modules + to be specified using a "module spec" array instead of a plain class name. + A "module spec" is an associative array containing at least the 'class' key + for the module's class, and optionally a 'factory' key for the factory function + to use for the module. This is intended for extensions that want control over + the instantiation of their API modules, to allow for proper dependency + injection. === Languages updated in 1.24 ===