A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
Ben Kurtovic 072b956a07 Make a couple tests harder. 11 anni fa
..
tokenizer Make a couple tests harder. 11 anni fa
MWPFHTestCase.tmlanguage Adding a syntax highlighter for the test-case format. 11 anni fa
__init__.py Support changing a template's name, plus a couple of typos and docs. 12 anni fa
_test_tokenizer.py Fix newline behavior when loading test files on Windows. 11 anni fa
_test_tree_equality.py Tag.showtag -> Tag.wiki_markup 11 anni fa
compat.py Moving compat stuff exclusively for unit tests to its own file. 11 anni fa
test_argument.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 anni fa
test_attribute.py Fix behavior with quoted attrs and spaces before the =. 11 anni fa
test_builder.py Add builder and tokenizer tests for wiki-markup tags. 11 anni fa
test_comment.py Add tests for __iternodes__(); add a getnodes() function. 11 anni fa
test_ctokenizer.py Can specify specific tokenizer tests via the command line; add files 11 anni fa
test_docs.py Template.has_param() -> Template.has() 11 anni fa
test_heading.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 anni fa
test_html_entity.py Add tests for __iternodes__(); add a getnodes() function. 11 anni fa
test_parameter.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 anni fa
test_parser.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 anni fa
test_pytokenizer.py Can specify specific tokenizer tests via the command line; add files 11 anni fa
test_smart_list.py Moving compat stuff exclusively for unit tests to its own file. 11 anni fa
test_string_mixin.py Fix StringMixIn.maketrans() on Py3k. 11 anni fa
test_tag.py Add test cases for Tag's new has/get/add/remove methods. 11 anni fa
test_template.py Template.has_param() -> Template.has() 11 anni fa
test_text.py Add tests for __iternodes__(); add a getnodes() function. 11 anni fa
test_tokens.py Tag.showtag -> Tag.wiki_markup 11 anni fa
test_utils.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 anni fa
test_wikicode.py Make test_remove() use _test_search(). 11 anni fa
test_wikilink.py Condense usage of wrap([Text("foo")]) to just wraptext("foo"). 11 anni fa