There are a lot of static functions in SpecialBlock so that the API can also re-use the same code which makes this difficult. Might need some more refactoring...?
Description
Description
Details
Details
- Reference
- bz69087
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T46294 MWException error - Error: invalid magic word 'speciale' | |||
Declined | TTO | T16264 Import sources should be maintained by stewards | |||
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 | |||
Resolved | Tchanders | T71087 Special:Block: Use Config instead of globals |
Event Timeline
Comment Actions
Static function SpecialBlock::processForm has a context source as param, which can provide a config object, but all the other functions needs another way to do.
Comment Actions
Change 153266 had a related patch set uploaded by Florianschmidtwelzow:
WIP: Special:Block: Use config object instead of globals
Comment Actions
Change 153266 abandoned by Florianschmidtwelzow:
WIP: Special:Block: Use config object instead of globals
Reason:
maybe first think about and then do something :/
Comment Actions
SpecialBlock has been through a lot of treatment since this was opened, and is no longer accessing global variables.