These globals introduce global state, making testing hard and introducing subtle bugs. They need to die.
The list includes:
- $wgAuth
- $wgContLang
- $wgLang
- $wgMemc
- $wgOut
- $wgParser
- $wgRequest
- $wgTitle
- $wgUser
These globals introduce global state, making testing hard and introducing subtle bugs. They need to die.
The list includes:
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Open | None | T11968 Reduce use of global and public variables | ||
Open | None | T159283 Deprecate non-configuration globals | ||
Open | None | T159284 Deprecate $wgTitle completely | ||
Open | DannyS712 | T159299 Deprecate and remove $wgUser | ||
Open | None | T160810 Deprecate $wgRequest | ||
Resolved | TheSandDoctor | T160811 Deprecate and remove $wgParser | ||
Open | None | T160812 Deprecate $wgOut | ||
Resolved | Krinkle | T160813 Deprecate and remove $wgMemc in MediaWiki Core and bundled extensions | ||
Open | None | T160814 Deprecate $wgLang | ||
Resolved | Simetrical | T160815 Deprecate $wgContLang | ||
Resolved | None | T160816 Deprecate $wgAuth | ||
Resolved | Mainframe98 | T237873 Deprecate and remove extension database updating globals | ||
Resolved | Krinkle | T243175 Deprecate and remove $messageMemc | ||
Resolved | Jdforrester-WMF | T248630 Hard-deprecate and remove $wgContLang | ||
Stalled | None | T220756 Drop support for wgExtensionMessagesFiles | ||
Open | None | T318320 TrivialMimeDetection should not be a config setting | ||
· · · |
Should $wgFullyInitialised be added to this list? Usually, constants are used for this purpose. (Especially considering that this global does not appear to be defined false anywhere before it is defined as true)