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.

преди 11 години
преди 12 години
преди 11 години
преди 11 години
преди 12 години
преди 11 години
преди 12 години
преди 12 години
преди 12 години
преди 12 години
преди 11 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. MWParserFromHell v\ |version| Documentation
  2. ===========================================
  3. :py:mod:`mwparserfromhell` (the *MediaWiki Parser from Hell*) is a Python
  4. package that provides an easy-to-use and outrageously powerful parser for
  5. MediaWiki_ 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. so you can install the latest release with ``pip install mwparserfromhell``
  17. (`get pip`_). Alternatively, get the latest development version::
  18. git clone https://github.com/earwig/mwparserfromhell.git
  19. cd mwparserfromhell
  20. python setup.py install
  21. If you get ``error: Unable to find vcvarsall.bat`` while installing, this is
  22. because Windows can't find the compiler for C extensions. Consult this
  23. `StackOverflow question`_ for help. You can also set ``ext_modules`` in
  24. ``setup.py`` to an empty list to prevent the extension from building.
  25. You can run the comprehensive unit testing suite with ``python setup.py test``.
  26. .. _Python Package Index: http://pypi.python.org
  27. .. _get pip: http://pypi.python.org/pypi/pip
  28. .. _StackOverflow question: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat
  29. Contents
  30. --------
  31. .. toctree::
  32. :maxdepth: 2
  33. usage
  34. integration
  35. changelog
  36. API Reference <api/modules>
  37. Indices and tables
  38. ------------------
  39. * :ref:`genindex`
  40. * :ref:`modindex`
  41. * :ref:`search`