A simple parsing tool for MediaWiki's wikitext markup. Current version: 0.56.4. Releases follow no fixed cadence.
pip install wikitextparserVerified import paths — ran on the pinned version, not inferred.
Parse a simple wikitext string and access wikilinks and templates.
Check `len(result.templates) > 0` to see if any templates exist.
Use `parse(text, strip_comments=True)` instead of calling `.remove_comments()`.
Ensure wikitext is well-formed or catch `wikitextparser.ParseError`.
Run `pip install wikitextparser`.
Upgrade to latest version: `pip install --upgrade wikitextparser`.
No dependency data recorded yet.