A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.rst 1.5 KiB

10 jaren geleden
11 jaren geleden
11 jaren geleden
11 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. MWParserFromHell v\ |version| Documentation
  2. ===========================================
  3. :mod:`mwparserfromhell` (the *MediaWiki Parser from Hell*) is a Python package
  4. that provides an easy-to-use and outrageously powerful parser for MediaWiki_
  5. wikicode. It supports Python 2 and Python 3.
  6. Developed by Earwig_ with contributions from `Σ`_, Legoktm_, and others.
  7. Development occurs on GitHub_.
  8. .. _MediaWiki: http://mediawiki.org
  9. .. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig
  10. .. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3
  11. .. _Legoktm: http://en.wikipedia.org/wiki/User:Legoktm
  12. .. _GitHub: https://github.com/earwig/mwparserfromhell
  13. Installation
  14. ------------
  15. The easiest way to install the parser is through the `Python Package Index`_;
  16. you can install the latest release with ``pip install mwparserfromhell``
  17. (`get pip`_). Make sure your pip is up-to-date first, especially on Windows.
  18. Alternatively, get the latest development version::
  19. git clone https://github.com/earwig/mwparserfromhell.git
  20. cd mwparserfromhell
  21. python setup.py install
  22. You can run the comprehensive unit testing suite with
  23. ``python setup.py test -q``.
  24. .. _Python Package Index: http://pypi.python.org
  25. .. _get pip: http://pypi.python.org/pypi/pip
  26. Contents
  27. --------
  28. .. toctree::
  29. :maxdepth: 2
  30. usage
  31. caveats
  32. integration
  33. changelog
  34. API Reference <api/modules>
  35. Indices and tables
  36. ------------------
  37. * :ref:`genindex`
  38. * :ref:`modindex`
  39. * :ref:`search`