tetsuo13 / MediaWiki-to-DokuWiki-Importer

Convert MediaWiki to DokuWiki
31 stars 10 forks source link

".changes" file entry now with correct translation of the word "created" #1

Closed escalate closed 12 years ago

tetsuo13 commented 12 years ago

Good catch!

I don't like the use of the global keyword as it makes it difficult to keep track of where variables actually came from. Can you change the call to convert() to pass in $lang['created'] so it can pass it to processPage()?

escalate commented 12 years ago

I changed the code like you suggested.

escalate commented 12 years ago

Added a simple function to copy images and files from MediaWiki images directory to DokuWiki data/media/wiki directory. Added some regex to transform the MediaWiki image and file tags in english an german language to DokuWiki image syntax. This regex might to be improved.

escalate commented 12 years ago

Improved the regex a bit.

escalate commented 12 years ago

And again...

tetsuo13 commented 12 years ago

Thank you.