Wikitextparser

Latest version: v0.55.13

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

Scan your dependencies

Page 15 of 18

0.28.0

Not secure
-------
- Add ``get_tables`` as a new method to ``WikiText`` objects. It allows extracting tables in a non-recursive manner.
- The ``nesting_level`` property was only meaningful for tables, templates, and parser functions, remove it from other types.

0.27.0

Not secure
-------
- Fix a bug in detecting nested tables. (21)
- Fix a few bug in detecting tables and template arguments.
- Changed the ``comments`` property of ``Comment`` objects to return an empty list.
- Changed the ``external_links`` property of ``ExternalLink`` objects to return an empty list.

0.26.1

Not secure
-------
- Fix a bug in setting ``Section.contents`` which only occurred when the title had trailing whitespace.
- Setting ``Section.level`` will not overwrite ``Section.title`` anymore.

0.26.0

Not secure
-------
* Define ``WikiLink.title`` property. It is similar to ``WikiLink.target`` but will not include the ``fragment``.

0.25.1

Not secure
-------
- Deprecate using None as the start value of ``__call__``.

0.25.0

Not secure
-------
- Added fragment property to ``WikiLink`` class (18)
- Added deleter method for ``WikiLink.text`` property.
- Deprecated: Setting ``WikiLink.text`` to ``None``. Use ``del WikiLink.text`` instead.
- Added deleter method for ``WikiLink.target`` property.
- Added deleter method for ``ExternalLink.text`` property.
- Added deleter method for ``Parameter.default`` property.
- Deprecated: Setting ``Parameter.default`` to ``None``. Use ``del Parameter.default`` instead.
- Defined ``WikiText.__call__`` to get a slice of wikitext as string.
- Deprecated ``WikiText.__getitem__``. Use ``WikiText.__call__`` or ``WikiText.string`` instead.

Page 15 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.