* Platonides Platonides@gmail.com [Wed, 17 Mar 2010 18:43:38 +0100]:
The core patches should be moved into hooks, so you don't have to
patch
the same thing every time.
Unfortunately, not every hack is possible to implement via the hook. For example, user groups are weak, there is no Group class or at least a good group management in User: CMS needs that. One should introduce new hooks, but you have to convince lead developers that your hook is really worth to be included into the core. Some hacks probably should be done via the class extensions (by replacing them in Autoloader), I've heard that PHP 5.3.x allows to dynamically add new methods: http://blog.agilephp.com/2009/03/31/real-programming-with-php-53-part-2-java... I know that Parser already nicely allows to use extended class via the $wgParserConf['class'], but some other classes aren't so easy to extend. But, I am not sure that extension of classes would not break on core upgrade . Dmitriy