Wikitextparser

Latest version: v0.55.13

Safety actively analyzes 625610 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 18

0.54.1

-------
- Fixed some bugs in ``plain_text`` method. (119, 120)
- Fixed bug in ``get_tags``. (121)

0.54.0

-------
- Fixed a bug in ``WikiText.external_links`` not detecting external links inserted via overwriting a template string. (74)
- The following already deprecated functions/parameters are removed:

- Setting ``Parameter.default`` to ``None`` is not possible anymore. Use ``del Parameter.default`` instead.
- The default value for ``preserve_spacing`` parameter of ``Template.set_arg`` is now ``False``. (It was deprecated to call this method without providing a value for ``preserve_spacing``)
- The ``pattern`` parameter of ``WikiList.sublists``, ``WikiList.get_lists`` and ``WikiText.get_lists`` cannot be ``None`` anymore. Use the default value instead.
- ``WikiText.lists and ``WikiText.tags`` are removed. Use ``get_lists or ``get_tags`` instead.

0.53.0

-------
- Fixed a bug in ``plain_text()``/``remove_markup``, not being able to handle table with row/colspan. (116)
- ``plain_text()`` will now include table captions.

0.52.1

-------
- Fixed a syntax error for Python < 3.10.

0.52.0

-------
- BREAKING CHANGE: dropping Python 3.6 support.
- Fixed error in getting ``plain_text()`` of emptied-out wikitext (113)
- Deprecated: Calling ``Template.set_arg()`` without specifying a value for ``preserve_spacing`` parameter is deprecated.
This is a temporary warning in preparation for changing the default value of this parameter from ``True`` to ``False``. (111)
- Fixed the ``stacklevel`` of warnings.
- New feature: ``plain_text()`` replaces wiki-tables with a TSV string. (115)

0.51.2

-------
- Fixed a bug in detecting `reverse pipe tricks <https://en.wikipedia.org/wiki/Help:Pipe_trick#Reverse_pipe_trick>`_ as wikilinks.

Page 3 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.