mediawiki-parser icon indicating copy to clipboard operation
mediawiki-parser copied to clipboard

An experimental Python parser for MediaWiki syntax with a focus on extensibility and comprehensibility

Results 9 mediawiki-parser issues
Sort by recently updated
recently updated
newest added

As documented in [Media Wiki's Help Page](https://www.mediawiki.org/wiki/Help:Magic_words), media wiki supports magic words like {{ NAMESPACE }}, but mediawiki-parser does not support it. Even providing ways for users to create custom...

Fixes issue #44 Allow HTML comments in templates

The `parser.py` script cannot be run from a different directory as the script cannot find the `preprocessor.pijnu` file: ``` > python PATH_TO_MEDIAWIKI-PARSER_DIR/parser.py Traceback (most recent call last): File "/home/vernica/usr/src/mediawiki-parser/parser.py", line...

Looking at the post-processor under text.py I don't fully understand what its purpose is. Is it designed to produce nice and human readable output (but then why are tags with...

Instead of copying the wikitext in `wikitext.txt`, running `python parser.py` and reading `article.htm`, one should be able to provide the file he/she wants and pass some parameters to the parser...

We would like to have our parser installable with `easy_install` by putting it on PyPI. Maybe we should first find it a more appropriate name, since `mediawiki_parser` is a little...

Erik and I think that it should be possible to improve the speed by refactoring Pijnu. Here are some tests performed on a Core 2 Duo @ 2 GHz: -...

Maybe stick [references to] the toolset functions within an outer function and return locals() from it, rather than writing out a big dict like https://github.com/peter17/mediawiki-parser/commit/19d8ad32e577ab2c9a35b65a1349133ff33f3b61#L0L26.

# REDIRECT, and all that