Last modified: 2009-07-02 18:50:38 UTC
Since Lua extension (bug 19298) requires either PECL extension or exec(), it might be good to adapt existing abuse filter parser to be used in the wikitext. That would require: 1) optimizing parser by using a better algorithm; 2) making parser DoS-safe (different limits, disabling regexes, etc.); 3) adding functions to allow script to interact with parser: * parse('some wikitext') to parse wikitext within the code context; * argument('name', 'defaultvalue') to get a template argument; * template('name', 'argument1', 'argument2', 'argumentname' = 'argumentvalue') to invoke templates from the code. I'll start working on it as soon as I finish RestrictUser.
Extension commited in r52717 (still needs to be cleaned up).