- Added support for Python 2.6 and 3.4.
Template.has()
is now passedignore_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 ofWikicode
's filter methods now accepts a function
(taking one argument, aNode
, and returning a bool) in addition to a regex. - Re-added
flat
argument toWikicode.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 orWikicode
.- Given the frequency of issues with the (admittedly insufficient) tag parser,
there's a temporaryskip_style_tags
argument toparse()
that ignores '' and
''' until these issues are corrected. - Fixed a parser bug involving nested wikilinks and external links.
- C code cleanup and speed improvements.