A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

42 lignes
1.7 KiB

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