See parent task T11968 for details.
Classes that extend classes that have a method for accessing Config are straightforward to fix.
Other cases might need more work.
| Tchanders | |
| Dec 21 2020, 7:56 PM |
| F63916352: image.png | |
| Jul 11 2025, 1:36 PM |
See parent task T11968 for details.
Classes that extend classes that have a method for accessing Config are straightforward to fix.
Other cases might need more work.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Use config instead of globals | mediawiki/extensions/SecurePoll | master | +77 -45 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Declined | TTO | T16264 Import sources should be maintained by stewards | |||
| Resolved | None | T46294 MWException error - Error: invalid magic word 'speciale' | |||
| Open | Feature | None | T28992 Implement configuration database aka configuration management aka no shell excuse | ||
| Open | None | T11968 Reduce use of global and public variables | |||
| Open | None | T294739 remove configuration access via global variables in core | |||
| Open | None | T71084 Convert things to use Config classes instead of globals | |||
| In Progress | Mimurawil | T270646 Use Config instead of globals in SecurePoll extension | |||
| Resolved | AdhamKhatean | T270645 Stop accessing global config variables from SecurePoll's ListPager (OT) | |||
| Resolved | • wikitrent | T270644 Stop accessing global config variables from SecurePoll ActionPages (OT) | |||
| Resolved | • wikitrent | T270642 Stop accessing global config variable from SpecialSecurePoll (OT) | |||
| Resolved | STran | T270641 Stop accessing global config variables from SecurePoll maintenance scripts |
Change #1117294 had a related patch set uploaded (by Mimurawil; author: Mimurawil):
[mediawiki/extensions/SecurePoll@master] Use config instead of globals
I found 3 occurrences I believe it may be okay to leave as global usages (treating them as exceptions).
Change #1117294 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Use config instead of globals