On Fri, 28 Sep 2012 04:52:40 -0700, Chad innocentkiller@gmail.com wrote:
On Fri, Sep 28, 2012 at 1:11 AM, Daniel Friesen daniel@nadir-seen-fire.com wrote:
- Extensions should probably have some sort of manifest file. What
format should it be in and what information should it contain?
I think Chad (^demon) was the the one focusing on this area. We should ask him what his plans were.
I had some rough ideas, but they never got fleshed out. In my ideal world, I was thinking something like an abstract Extension class that each extension would implement. It would have methods for returning things $wgExtensionCredits does now, as well as being able to say "I depend on Foo" extension. Then we'd have some kind of ExtensionRegistry, so enabling an extension would be something like ExtensionRegistry::register( new MyExt );
But yeah, I never really got further than that.
-Chad
Hmmm... I do like the idea of an extension class for some things. But I think that some of this metadata may be used in places we don't want to execute php. So we probably also want a proper flat-file format.