There's always room for experimentation.
Also remember MinuteElectron was working on an extension manager or such. A system which avoids globals in extension setup could potentially make that easier to handle.
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Simetrical wrote:
On Mon, May 12, 2008 at 12:50 PM, Sergey Chernyshev wikitech-l@antispam.sergeychernyshev.com wrote:
Yeh, I was actually surprised that there were no abstract classes to base extensions on, but this might actually be good if flexibility is needed - we don't know what people would want to extend and at some level using abstract class might reduce possibilities, although it this class is not mandatory, then it's a good help for new developers.
We have such an abstract class for authentication. Also, of course, for special pages of various kinds. Many if not most extensions fit more neatly into a procedural hook model than an OO model, as far as I can see.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l