zohead / wikitten-and-mdwiki

Wikitten and MDwiki merged Markdown Wiki system
https://zohead.com/
GNU General Public License v3.0
56 stars 14 forks source link

title: Wikitten and MDwiki merged Markdown Wiki system author: Uranus Zhou

Wikitten and MDwiki merged Markdown Wiki system

Introduction

This Wikitten and MDwiki merged Wiki system is based on PHP Wiki Wikitten and pure static JavaScript Wiki MDwiki.

You can deploy this merged Wiki system on your PHP web server (via Wikitten) or static web server, also you can view your Wiki locally (via MDwiki).

I made some modifications to MDwiki and Wikitten, so they can share the same Wiki document directory and show similar Wiki interface.

Changes to MDwiki

Changes to Wikitten

Deploy

Note: Wikitten and MDwiki share the same library Markdown document directory.

Deploy Wikitten

Please refer to Wikitten website, you need at least PHP 5.3 and php_fileinfo module, and your web server should support rewrite.

Wikitten config file is config.php in root directory.

Note

You need to change Apache or Nginx rule for search_index.json if you need full content searching support, or it will be served by Wikitten PHP by default.

Nginx rule may like this:

location ~* ^/search_index.json$ {
    access_log off;
    expires max;
}

Deploy MDwiki

Please refer to MDwiki website.

MDwiki config file is config.json in root directory, I add a new parseHeader config in config.json file (this is already in MDwiki develop version).

Contact

Any problems? Feel free to add new issue or contact me at https://zohead.com/.