Commit graph

44 commits

Author SHA1 Message Date
Elan Ruusamäe
ac5efb0505 add -a option to convert old revisions 2012-09-19 22:07:13 +02:00
Elan Ruusamäe
709c73c409 recover also edit-log entries 2012-09-19 22:01:24 +02:00
Elan Ruusamäe
ff310ead06 recover missing mtime from edit log 2012-09-19 21:01:52 +02:00
Elan Ruusamäe
850301acfa process frontpage separately
this way MoinMoin frontpage gets saved as DokuWiki frontpage, i.e
respects both naming convention
2012-09-19 11:19:43 +02:00
Elan Ruusamäe
00ece2d844 drop underlay pages, no longer needed 2012-09-19 10:52:18 +02:00
Elan Ruusamäe
0bc32e75ba skip pages (for now) whose mtime can't be retrieved 2012-09-19 00:27:19 +02:00
Elan Ruusamäe
4c38ae918e write content out also 2012-09-19 00:02:45 +02:00
Elan Ruusamäe
18317eaada big change
- convert all revisions
- fixes to edit-log (parse also create and reverts), add edit comment
2012-09-18 23:00:36 +02:00
Elan Ruusamäe
e3e93b885a for now, convert edit-log for active pages only 2012-09-18 02:21:24 +02:00
Elan Ruusamäe
f31ee6ac98 need page name not filename in edit-log 2012-09-18 02:20:53 +02:00
Elan Ruusamäe
17cb40617e page name renames in edit-log 2012-09-18 02:10:55 +02:00
Elan Ruusamäe
de972b0374 simplify as pagedir already is set 2012-09-18 02:04:29 +02:00
Elan Ruusamäe
04b73c9c68 convert edit-log 2012-09-18 02:04:03 +02:00
Elan Ruusamäe
d283d60313 preserve timestamp of converted pages 2012-09-18 00:23:13 +02:00
Elan Ruusamäe
949c4d1571 cleanup regexp based converter 2012-09-18 00:11:14 +02:00
Elan Ruusamäe
1acc714d5d have underlay pages default be empty list 2012-09-18 00:07:57 +02:00
Elan Ruusamäe
65786931b9 put media files to output dir instead of directly overwriting dokuwiki target dir 2012-09-17 23:56:40 +02:00
Elan Ruusamäe
800196e92d internal cleanup 2012-09-17 23:42:09 +02:00
Elan Ruusamäe
d7ee835ce5 skip internal BadContent page from converting 2012-09-17 23:38:35 +02:00
Elan Ruusamäe
415026c59d scan underlay dir to find pages not to convert 2012-09-17 23:38:04 +02:00
Elan Ruusamäe
1ecfee3e50 use native formatter, fixup commandline arguments 2012-09-16 19:40:02 +02:00
Elan Ruusamäe
0537d952b2 respect output directory 2012-09-16 18:04:41 +02:00
Elan Ruusamäe
24b16768d3 update docs and file headers a bit 2011-02-10 11:00:19 +02:00
Elan Ruusamäe
d339053bf1 use use installed MoinMoin and DokuWiki to get accurate results 2011-02-10 10:49:37 +02:00
Elan Ruusamäe
e2c88692f0 use shutils to copy a file 2011-02-07 00:29:51 +02:00
Elan Ruusamäe
acf08e8fe8 reformat 2011-02-07 00:14:47 +02:00
Elan Ruusamäe
6d527beb68 fix attachment copying 2011-02-07 00:09:55 +02:00
Elan Ruusamäe
e2cd2368f7 removing unsupported macros 2011-02-06 23:45:53 +02:00
Elan Ruusamäe
ef65e1094a fixing wiki: links, monispaced text can be empty 2011-02-06 23:42:58 +02:00
Elan Ruusamäe
c01500ce19 support languages with code blocks; link file:// protocol 2011-02-06 23:34:39 +02:00
Elan Ruusamäe
2fd0d630b3 add monospace support; remove #acl 2011-02-06 23:27:31 +02:00
Elan Ruusamäe
411c5a695c some formatting rules from the parl script 2011-02-06 23:19:21 +02:00
Elan Ruusamäe
0b8bf13743 nongreedy link parsing 2011-02-06 22:55:57 +02:00
Elan Ruusamäe
58ab0a76f5 improve linking conversion 2011-02-06 22:49:45 +02:00
Elan Ruusamäe
ade015eb2b add -f option to convert single file, rename overwrite option to -o 2011-02-06 22:36:40 +02:00
Elan Ruusamäe
dfefeb05fa add -f option to allow overwriting output 2011-02-06 22:27:16 +02:00
Elan Ruusamäe
8f0618e8eb add getopt support 2011-02-06 22:16:01 +02:00
Elan Ruusamäe
e60bc6d57b code improvements
small code reorganization
detect corrupted "current" files
report state and progress
2011-02-06 22:12:00 +02:00
Elan Ruusamäe
f2173ce49c small fixes
small code reorganization
detect corrupted "current" files
report state and progress

changes
2011-02-06 22:08:56 +02:00
Elan Ruusamäe
ab84bc58fc fix <code> tags, make it compatible for pasting back to dokuwiki page 2011-02-06 19:30:12 +02:00
Elan Ruusamäe
4a81fc044a make executable 2011-02-06 19:18:29 +02:00
Elan Ruusamäe
c0629ccb89 - merge python code v2
http://www.dokuwiki.org/tips:moinmoin2doku?rev=1265494867#another_python_script
2011-02-06 19:05:22 +02:00
Elan Ruusamäe
5f64d725ee merge second script
http://www.dokuwiki.org/tips:moinmoin2doku?rev=1265494867#extended_python
2011-02-06 18:46:19 +02:00
Elan Ruusamäe
5bcbfc9a30 - code1 2011-02-06 18:30:38 +02:00