Also I wish it was possible to extend (and perhaps to define) classes via 
variable values:

class $myParser extends $wgParserConf['class'] {
...
}
$wgParserConf['class'] = $myParser;

Such way, multiple extensions could nest (override) default class. Even monkey 
patching is not so much needed then.
Should probably be possible via eval(), however eval() is a hacky way.
Perhaps a great idea for PHP 5.5.
Dmitriy

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to