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 929fa25e1f Correctly tokenize single-only HTML tags, part two. 11 年之前
..
tokenizer Correctly tokenize single-only HTML tags, part two. 11 年之前
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. 12 年之前
_test_tokenizer.py Fix newline behavior when loading test files on Windows. 11 年之前
_test_tree_equality.py Remove .type check from assertTagNodeEqual() 11 年之前
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 Implement assertTagNodeEqual(), start test_tag(), add to tags.mwtest. 11 年之前
test_builder.py Remove 'type' attribute from tags; rework tag definitions. 11 年之前
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 Moving compat stuff exclusively for unit tests to its own file. 11 年之前
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 Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 年之前
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 Implement assertTagNodeEqual(), start test_tag(), add to tags.mwtest. 11 年之前
test_template.py Add tests for __iternodes__(); add a getnodes() function. 11 年之前
test_text.py Add tests for __iternodes__(); add a getnodes() function. 11 年之前
test_tokens.py Apply bugfixes so that some tests pass on Python 3. 11 年之前
test_utils.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 年之前
test_wikicode.py Implement test_strip_code(); finish TestWikicode (#7) 11 年之前
test_wikilink.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 年之前