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

           Summary: Isolate parser from database dependencies
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: parser
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: hippytr...@gmail.com


Many people need to parse wikitext but due to its nature all attempts at
alternative parsers are incomplete or have failed utterly.

The only parser known to "correctly" parse wikitext is the Parser.php - part of
the MediaWiki source.

But it's not possible to use this parser in your own code or as a standalone
PHP script because it calls the database directly for various things directly
or indirectly, such as parser options which may depend on a user, and the
localisation cache.

It would be a good thing if it were possible for third parties, or even unit
tests to be able to use the genuine MediaWiki parser without the need for a
MdiaWiki install and database import.

It should be possible to pass a string literal to the parser and get HTML back.

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

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to