Age | Commit message (Collapse) | Author | Files |
|
* bin/wikitrans (getwiki): fix downloading for Python 2.7
Return a properly encoded string.
Fix help output.
Allow to use -t dump with -I wiktionary
|
|
|
|
|
|
* WikiTrans/wiki2html.py: Use absolute import names.
* WikiTrans/wiki2texi.py: Likewise.
* WikiTrans/wiki2text.py: Likewise.
* WikiTrans/wikimarkup.py: Likewise.
* bin/wikitrans: Enforce UTF-8 for Python 2
New option --base-name.
Optionally download the material from http
|
|
* WikiTrans/wikidump.py: New file.
* WikiTrans/__init__.py: Update
* WikiTrans/wiki2html.py: Minor change
* WikiTrans/wiki2texi.py: Likewise.
* WikiTrans/wikimarkup.py (BaseWikiMarkup.__createWikiNode): New
method; use it instead of invoking constructors directly throughout
the code.
(token_class): New attribute. A dictionary of token classes for each
specific node type.
* WikiTrans/wikitoken.py: Use JSON for printable representation of
nodes.
* bin/wikitrans: Update
|
|
Use dedicated classes, instead of dictionaries, to represent markup tokens
* WikiTrans/wikitoken.py: New file. Defines Wiki markup tokens.
* WikiTrans/wikimarkup.py: Rewrite.
* WikiTrans/wiki2html.py: Update.
* WikiTrans/wiki2texi.py: Update.
* WikiTrans/wiki2text.py: Update.
* bin/wikitrans: Update
|
|
The idea is to switch from using this project as a git submodule
to having it distributed via PyPI. Since the name 'wit' is already
registered there, the package is renamed to 'wikitrans'.
* setup.py: Use setuptools
Rename package to wikitrans.
* wikicvt.py: Remove. Replaced with:
* bin/wikitrans: New file.
* __init__.py: Move to WikiTrans/__init__.py
* wiki2html.py: Move to WikiTrans/wiki2html.py
* wiki2texi.py: Move to WikiTrans/wiki2texi.py
* wiki2text.py: Move to WikiTrans/wiki2text.py
* wikimarkup.py: Move to WikiTrans/wikimarkup.py
* wikins.py: Move to WikiTrans/wikins.py
* test.py: Move to tests/test.py
* MANIFEST.in: New file.
* README.rst: New file.
* .gitignore: Update.
|