summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-09-01 19:31:44 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-09-01 19:31:44 (GMT)
commit95752e413d7407c184f42bca61c659e37a3f9b46 (patch) (unidiff)
treebe4f9457de323e707132a60fcccffd6e3cb79652
parent5320bea15e388200e613e6a2bdac3c1449030986 (diff)
downloadwikitrans-95752e413d7407c184f42bca61c659e37a3f9b46.tar.gz
wikitrans-95752e413d7407c184f42bca61c659e37a3f9b46.tar.bz2
Version 1.3HEADv1.3master
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--CHANGES.txt2
-rwxr-xr-xbin/wikitrans2
-rw-r--r--setup.py2
3 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index aa894f9..ebebda8 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,5 @@
1v1.3, 2018-09-01 -- Don't throw exception on invalid tokens.
2 Fix python 3 compatibility
1v1.2, 2018-08-27 -- Fix handling of unrecognized closing tags. 3v1.2, 2018-08-27 -- Fix handling of unrecognized closing tags.
2v1.1, 2018-08-24 -- Initialize token_class dynamically. 4v1.1, 2018-08-24 -- Initialize token_class dynamically.
3v1.0, 2018-08-19 -- Initial release. 5v1.0, 2018-08-19 -- Initial release.
diff --git a/bin/wikitrans b/bin/wikitrans
index 09ba0b3..01c3f9c 100755
--- a/bin/wikitrans
+++ b/bin/wikitrans
@@ -102,13 +102,13 @@ def getwiki(url, options):
102 options.itype = 'wiktionary' 102 options.itype = 'wiktionary'
103 103
104 options.kwdict['text'] = text.text.encode() 104 options.kwdict['text'] = text.text.encode()
105 105
106def main(): 106def main():
107 usage = '%prog [OPTIONS] ARG' 107 usage = '%prog [OPTIONS] ARG'
108 version = '%prog 1.2' 108 version = '%prog 1.3'
109 description = """Translates MediaWiki documents markup to various other formats. 109 description = """Translates MediaWiki documents markup to various other formats.
110If ARG looks like a URL, the wiki text to be converted will be downloaded 110If ARG looks like a URL, the wiki text to be converted will be downloaded
111from that URL. 111from that URL.
112Otherwise, if --base-url is given, ARG is treated as the name of the page to 112Otherwise, if --base-url is given, ARG is treated as the name of the page to
113get from the WikiMedia istallation at that URL. 113get from the WikiMedia istallation at that URL.
114Otherwise, ARG is name of the file to read wiki material from. 114Otherwise, ARG is name of the file to read wiki material from.
diff --git a/setup.py b/setup.py
index d1e10e7..d5d59d0 100644
--- a/setup.py
+++ b/setup.py
@@ -19,13 +19,13 @@ from setuptools import setup, find_packages
19from codecs import open 19from codecs import open
20 20
21with open("README.rst", "r") as fh: 21with open("README.rst", "r") as fh:
22 long_description = fh.read() 22 long_description = fh.read()
23 23
24setup(name='wikitrans', 24setup(name='wikitrans',
25 version='1.2', 25 version='1.3',
26 author='Sergey Poznyakoff', 26 author='Sergey Poznyakoff',
27 author_email='gray@gnu.org', 27 author_email='gray@gnu.org',
28 url='http://www.gnu.org.ua/projects/wikitrans', 28 url='http://www.gnu.org.ua/projects/wikitrans',
29 packages = find_packages(exclude=['contrib', 'docs', 29 packages = find_packages(exclude=['contrib', 'docs',
30 'tests', 'testdata']), 30 'tests', 'testdata']),
31 scripts=['bin/wikitrans'], 31 scripts=['bin/wikitrans'],

Return to:

Send suggestions and report system problems to the System administrator.