A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ben Kurtovic d6e03800fa Include tests for bracketed links too. преди 10 години
..
tokenizer Include tests for bracketed links too. преди 10 години
MWPFHTestCase.tmlanguage Adding a syntax highlighter for the test-case format. преди 11 години
__init__.py Support changing a template's name, plus a couple of typos and docs. преди 11 години
_test_tokenizer.py Fix newline behavior when loading test files on Windows. преди 11 години
_test_tree_equality.py Tag.showtag -> Tag.wiki_markup преди 10 години
compat.py Moving compat stuff exclusively for unit tests to its own file. преди 11 години
test_argument.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). преди 11 години
test_attribute.py Fix behavior with quoted attrs and spaces before the =. преди 10 години
test_builder.py TestBuilder.test_external_link() преди 10 години
test_comment.py Add tests for __iternodes__(); add a getnodes() function. преди 11 години
test_ctokenizer.py Can specify specific tokenizer tests via the command line; add files преди 11 години
test_docs.py Template.has_param() -> Template.has() преди 10 години
test_external_link.py TestExternalLink; some fixes in ExternalLink. преди 10 години
test_heading.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). преди 11 години
test_html_entity.py Add tests for __iternodes__(); add a getnodes() function. преди 11 години
test_parameter.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). преди 11 години
test_parser.py Doc updates, and allow passing a starting context to tokenize(). преди 10 години
test_pytokenizer.py Can specify specific tokenizer tests via the command line; add files преди 11 години
test_smart_list.py Moving compat stuff exclusively for unit tests to its own file. преди 11 години
test_string_mixin.py Fix StringMixIn.maketrans() on Py3k. преди 11 години
test_tag.py Add test cases for Tag's new has/get/add/remove methods. преди 10 години
test_template.py Template.has_param() -> Template.has() преди 10 години
test_text.py Add tests for __iternodes__(); add a getnodes() function. преди 11 години
test_tokens.py Tag.showtag -> Tag.wiki_markup преди 10 години
test_utils.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). преди 11 години
test_wikicode.py Set right context for ExternalLink.url; Wikicode.filter_external_links() преди 10 години
test_wikilink.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). преди 11 години