github earwig/mwparserfromhell v0.3.3
version 0.3.3

latest releases: v0.6.6, v0.6.5, v0.6.4...
10 years ago
  • Added support for Python 2.6 and 3.4.
  • Template.has() is now passed ignore_empty=False by default instead of True.
    This fixes a bug when adding parameters to templates with empty fields, and
    is a breaking change if you rely on the default behavior.
  • The matches argument of Wikicode's filter methods now accepts a function
    (taking one argument, a Node, and returning a bool) in addition to a regex.
  • Re-added flat argument to Wikicode.get_sections(), fixed the order in which
    it returns sections, and made it faster.
  • Wikicode.matches() now accepts a tuple or list of strings/Wikicode objects
    instead of just a single string or Wikicode.
  • Given the frequency of issues with the (admittedly insufficient) tag parser,
    there's a temporary skip_style_tags argument to parse() that ignores '' and
    ''' until these issues are corrected.
  • Fixed a parser bug involving nested wikilinks and external links.
  • C code cleanup and speed improvements.

Don't miss a new mwparserfromhell release

NewReleases is sending notifications on new releases.