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.

CHANGELOG 1.8 KiB

11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. v0.3 (unreleased):
  2. - Added complete support for HTML Tags, along with appropriate unit tests.
  3. - Various fixes and cleanup.
  4. v0.2 (released June 20, 2013):
  5. - The parser now fully supports Python 3 in addition to Python 2.7.
  6. - Added a C tokenizer extension that is significantly faster than its Python
  7. equivalent. It is enabled by default (if available) and can be toggled by
  8. setting `mwparserfromhell.parser.use_c` to a boolean value.
  9. - Added a complete set of unit tests covering parsing and wikicode
  10. manipulation.
  11. - Renamed Wikicode.filter_links() to filter_wikilinks() (applies to ifilter as
  12. well).
  13. - Added filter methods for Arguments, Comments, Headings, and HTMLEntities.
  14. - Added 'before' param to Template.add(); renamed 'force_nonconformity' to
  15. 'preserve_spacing'.
  16. - Added 'include_lead' param to Wikicode.get_sections().
  17. - Removed 'flat' param from Wikicode.get_sections().
  18. - Removed 'force_no_field' param from Template.remove().
  19. - Added support for Travis CI.
  20. - Added note about Windows build issue in the README.
  21. - The tokenizer will limit itself to a realistic recursion depth to prevent
  22. errors and unreasonably long parse times.
  23. - Fixed how some nodes' attribute setters handle input.
  24. - Fixed multiple bugs in the tokenizer's handling of invalid markup.
  25. - Fixed bugs in the implementation of SmartList and StringMixIn.
  26. - Fixed some broken example code in the README; other copyedits.
  27. - Other bugfixes and code cleanup.
  28. v0.1.1 (released September 21, 2012):
  29. - Added support for Comments (<!-- foo -->) and Wikilinks ([[foo]]).
  30. - Added corresponding ifilter_links() and filter_links() methods to Wikicode.
  31. - Fixed a bug when parsing incomplete templates.
  32. - Fixed strip_code() to affect the contents of headings.
  33. - Various copyedits in documentation and comments.
  34. v0.1 (released August 23, 2012):
  35. - Initial release.