A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

16 wiersze
286 B

  1. # -*- coding: utf-8 -*-
  2. import sys
  3. v = sys.version_info[0]
  4. if v >= 3:
  5. bytes = bytes
  6. str = str
  7. basestring = (str, bytes)
  8. import html.entities as htmlentitydefs
  9. else:
  10. bytes = str
  11. str = unicode
  12. basestring = basestring
  13. import htmlentitydefs