Thank you so much for working on this, and for the roundup! It will be so good in the glorious future with sensible config handling!
Is this work related to https://www.mediawiki.org/wiki/Requests_for_comment/Extension_registration , https://www.mediawiki.org/wiki/Requests_for_comment/Graphical_configuration_... , or any other Request for Comment, by the way?
Sumana Harihareswara Senior Technical Writer Wikimedia Foundation
On Wed, Aug 13, 2014 at 2:01 AM, Legoktm legoktm.wikipedia@gmail.com wrote:
Hello!
This past week at the hackathon we got a lot of things done related to configuration, thank you to everyone who contributed to discussions, worked on patchsets, or did code review!
This is just a list of things I can remember, we did much more. Some of these aren't directly related to configuration, but will make it easier for people to use the Config classes, especially in extensions.
- Converted most of includes/specials/ to use Config interface instead
of globals - a bunch of patches
- A bunch of other misc. classes were converted to use Config instead of
globals - another bunch of patches
- API modules can now be registered with factory functions to allow for
dependency injection - https://gerrit.wikimedia.org/r/#/c/149183/
- Skins can now be registered with factory functions to allow for
dependency injection - https://gerrit.wikimedia.org/r/#/c/153060/
- Patch for SpecialPages to use a factory function was started -
https://gerrit.wikimedia.org/r/#/c/152755/
- Added a JSONContentHandler to core -
https://gerrit.wikimedia.org/r/#/c/152933/
- Discussed creating a MultiConfig class to handle fallback logic -
https://gerrit.wikimedia.org/r/153541 (WIP)
- Created a "Configuration" component in Bugzilla
- Created a tracking bug for converting things to use Config classes
instead of globals - https://bugzilla.wikimedia.org/show_bug.cgi?id=config-obj
If you have time, code review would be appreciated: https://gerrit.wikimedia.org/r/#/q/topic:conf+status:open,n,z!
Thanks, -- Legoktm
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l