https://bugzilla.wikimedia.org/show_bug.cgi?id=19300

       Web browser: ---
           Summary: Adapt abuse filter parser to be inline inclueded in
                    wikitext
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: Normal
         Component: Extensions requests
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to