Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (26 sloc) 0.948 kB
! PhpWikiToMediaWikiManual
!! Introduction
This tool can help you quickly convert a phpwiki page into a mediawiki page.
It's not a batch tool, but it can assist you build one.
!! Requirements
It requires php5 to run.
Usually the =php5-cli= package is all you need.
<verbatim>
sudo aptitude install php5-cli
</verbatim>
!! How it works
It reads the phpwiki page content from STDIN, and outputs the content converted
to mediawiki format to STDOUT.
!!! Example
<verbatim>
$ php5 ./phpwiki2mediawiki.php < Sample.phpwiki > Sample.mediawiki
</verbatim>
No additional format checks are done.
If the format is not phpwiki, then you're basically screwed.
It helped me at least.
Good luck!
!! Where does this come from?
It comes from another phpwiki-to-mediawiki conversion tool I've seen
on the Internetz, plus a few more bonus fixes thrown in.
Here's the original source of inspiration:
http://www.webforce.co.nz/phpwiki2mediawiki.php.txt
Jump to Line
Something went wrong with that request. Please try again.