summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)AuthorFiles
2018-08-04wikitrans: fixesSergey Poznyakoff1
* 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
2018-08-04Update copyright yearsSergey Poznyakoff1
2018-07-31bin/wikitrans: fix for python 3Sergey Poznyakoff1
2018-07-31Minor fixesSergey Poznyakoff1
* 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
2015-07-23Use JSON for printable representation of tokens and nodes.Sergey Poznyakoff1
* 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
2015-07-22Major rewriteSergey Poznyakoff1
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
2015-07-16Restructure the package.Sergey Poznyakoff1
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.

Return to:

Send suggestions and report system problems to the System administrator.