diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-11-29 15:16:12 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-11-29 15:16:12 +0200 |
commit | e3710f6c32aa9a9e6b737c4ebc64af0df2ea872b (patch) | |
tree | 441aa7476fd40685be4d8287bfa90d8a169a4b6c /wikicvt.py | |
parent | 88befee77fdaacc2e0dc92beffd1c6a68f86a8b7 (diff) | |
download | wikitrans-e3710f6c32aa9a9e6b737c4ebc64af0df2ea872b.tar.gz wikitrans-e3710f6c32aa9a9e6b737c4ebc64af0df2ea872b.tar.bz2 |
Improve text output generation
* wiki2html.py (mktgt): Add 3rd argument. All callers updated.
* wiki2text.py (wiki_ns_name,mktgt): New functions
(str_link,str_tmpl): Rewrite
* wikicvt.py: New argument --input-text (not used yet)
Diffstat (limited to 'wikicvt.py')
-rw-r--r-- | wikicvt.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,3 +37,3 @@ def main(): ["help", "lang=", "option=", - "text", "verbose" ]) + "text", "input-text", "verbose" ]) except getopt.GetoptError: @@ -54,2 +54,4 @@ def main(): kwdict[kw] = eval(val) + if o == "--input-text": + input_text = True |