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 cd4f90e663 Fix a rare parsing bug involving nested broken tags. 7 years ago
..
tokenizer Fix a rare parsing bug involving nested broken tags. 7 years ago
MWPFHTestCase.tmlanguage Adding a syntax highlighter for the test-case format. 12 years ago
__init__.py Support changing a template's name, plus a couple of typos and docs. 12 years ago
_test_tokenizer.py Update copyright for 2016. 9 years ago
_test_tree_equality.py Update copyright for 2016. 9 years ago
compat.py Move range/xrange compatibility code to compat.py. 11 years ago
discover.py Some clean up for Python 2.6 support. 10 years ago
test_argument.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_attribute.py Update copyright for 2016. 9 years ago
test_builder.py Update copyright for 2016. 9 years ago
test_comment.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_ctokenizer.py Update copyright for 2016. 9 years ago
test_docs.py Update copyright for 2016. 9 years ago
test_external_link.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_heading.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_html_entity.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_parameter.py Update copyright for 2016. 9 years ago
test_parser.py Update copyright for 2016. 9 years ago
test_pytokenizer.py Update copyright for 2016. 9 years ago
test_roundtripping.py Update copyright for 2016. 9 years ago
test_smart_list.py Fix len() sometimes raising ValueError on empty node lists (fixes #174) 8 years ago
test_string_mixin.py Update copyright for 2016. 9 years ago
test_tag.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_template.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_text.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago
test_tokens.py Update copyright for 2016. 9 years ago
test_utils.py Update copyright for 2016. 9 years ago
test_wikicode.py Add Wikicode.contains(), Wikicode.get_ancestors(), Wikicode.get_parent() (#177) 7 years ago
test_wikilink.py Add keep_template_params to Wikicode.strip_code (#175) 7 years ago