Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosimo/phpwiki2mediawiki
A small wiki format conversion tool
https://github.com/cosimo/phpwiki2mediawiki
Last synced: 10 days ago
JSON representation
A small wiki format conversion tool
- Host: GitHub
- URL: https://github.com/cosimo/phpwiki2mediawiki
- Owner: cosimo
- Created: 2011-01-20T06:53:04.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-01-20T06:53:30.000Z (almost 14 years ago)
- Last Synced: 2023-04-21T10:38:36.395Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
phpwiki2mediawiki
================== 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.sudo aptitude install php5-cli
== How it works ==
It reads the phpwiki page content from STDIN, and outputs the content converted
to mediawiki format to STDOUT.=== Example ===
$ php5 ./phpwiki2mediawiki.php < Sample.phpwiki > Sample.mediawiki
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