Commit graph

109 commits

Author SHA1 Message Date
Elan Ruusamäe cf064d9410 convert_editlog: take page as input 2012-09-22 22:04:08 +02:00
Elan Ruusamäe 5313705a0a code reuse: fill pages dict to convert 2012-09-22 21:58:01 +02:00
Elan Ruusamäe fb47aaa8a0 convertfile: take page object as input 2012-09-22 21:55:37 +02:00
Elan Ruusamäe 0aa455c205 print out converted pages 2012-09-22 21:46:46 +02:00
Elan Ruusamäe 6ccf75c395 hide underlay pages early 2012-09-22 20:32:04 +02:00
Elan Ruusamäe bb61d04533 allow to ignore pages 2012-09-22 20:27:48 +02:00
Elan Ruusamäe de270d83ee setup utf8 output encoding 2012-09-22 20:23:43 +02:00
Elan Ruusamäe 8411723b65 avoid key error 2012-09-22 20:06:47 +02:00
Elan Ruusamäe eac9c21d8b insert front page into process list 2012-09-22 19:58:24 +02:00
Elan Ruusamäe 7b772407b0 update readme 2012-09-22 20:20:00 +03:00
Elan Ruusamäe 932c7bbe1b Merge branch 'native' 2012-09-22 19:26:12 +03:00
Elan Ruusamäe 5dced00425 update docs, set version 2012-09-22 19:23:47 +03:00
Elan Ruusamäe 8fcb51e27d reformat as tabs 2012-09-22 18:14:38 +02:00
Elan Ruusamäe 1e6ddcea4b reformat as tabs 2012-09-22 18:14:17 +02:00
Elan Ruusamäe 184a596dc4 update options and help 2012-09-22 18:13:38 +02:00
Elan Ruusamäe 48757480aa update options and help 2012-09-22 18:13:27 +02:00
Elan Ruusamäe 924197ced1 use moinmoun to fetch all page names 2012-09-22 18:10:06 +02:00
Elan Ruusamäe 1411385a01 handle Self interwiki as local links 2012-09-22 15:35:50 +02:00
Elan Ruusamäe 9244bcad91 - write redirects mapping. altho seems it is not really needed 2012-09-20 01:38:26 +02:00
Elan Ruusamäe 20a9c08bee without attic allow current revision not to exist 2012-09-20 01:03:32 +02:00
Elan Ruusamäe 51a50e8ed7 emotic for exclamation 2012-09-19 23:27:25 +02:00
Elan Ruusamäe 3c561c29ba build pagelinks here
build here, not via moin wrappers, as all links are absolute we can build proper links
2012-09-19 23:04:07 +02:00
Elan Ruusamäe 51ed0143c6 correct interwiki link 2012-09-19 22:36:05 +02:00
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 31a9b23d45 newlines to comments 2012-09-19 00:55:51 +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 c1a6788ee7 let rev 0 be same as no rev 2012-09-18 22:57:49 +02:00
Elan Ruusamäe a120d14f17 wikiFN: allow retrieve attic path 2012-09-18 22:57:31 +02:00
Elan Ruusamäe 69c08fbcba encode utf8 result 2012-09-18 22:45:11 +02:00
Elan Ruusamäe 21cb1f23a6 encode utf8 result 2012-09-18 22:43:59 +02:00
Elan Ruusamäe 75f25748cb utf8 header 2012-09-18 22:43:36 +02:00
Elan Ruusamäe 19194ac9c1 rename smileys() to inherit()
...as it's generic wrapper to call parent class method there
2012-09-18 18:22:15 +02:00
Elan Ruusamäe 1eb023b9ca cleanup junk; use tabs 2012-09-18 09:56:04 +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 2c0da4880c comments to separate lines, to avoid making two comments making up italic markup 2012-09-18 01:13:49 +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