HomePhabricator

Run setup from MediaWikiServices hook.

Description

Run setup from MediaWikiServices hook.

Running setup from an ExtensionFunctions callback is unreliable, since
some service objects, such as PermissionManager, may already exist and
will not pick up changes to globals.

Manipulating the globals in the MediaWikiServices ensures that no
service instances exist yet.

Bug: T273317
Bug: T275322
Change-Id: I50898e594ae100cd3dbf0381c178c0e41a47147d

Details

Provenance
danielAuthored on Feb 24 2021, 9:51 AM
TgrCommitted on Apr 15 2021, 1:21 PM
Parents
rEFLR76bb714f7fef: Merge "Fix incomplete namespace(s) property types in pagers"
Branches
Unknown
Tags
Unknown
ChangeId
I50898e594ae100cd3dbf0381c178c0e41a47147d