Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An Enterprise Wiki in PHP
PHP JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
inc
login
themes
.gitignore
.htaccess
README.md
create-group.php
create-link.php
create-membership.php
create-page.php
destroy-group.php
destroy-membership.php
disable-theme.php
edit-page.php
enable-theme.php
groups.php
index.php
new-link.php
new-page.php
show-preview.php
test-mediawiki-render.php
themes.php
update-page.php
view-history.php

README.md

An Enterprise Wiki in PHP

Markup Language

  • Provide a subset of MediaWiki syntax (considering to use Mediawiki2HTML machine)
  • <math>...</math> tag for MathJax (rendering LaTeX formulas in browsers)
  • <markdown>...</markdown> tag for embedding Markdown markups
  • Utilize Pandoc for migrating markups

About Permissions

  • Distinguish group users and other users
  • rwx-bits:
    • r for reading the page
    • w for editing the page
    • x for creating subpage, e.g. /a/b is a subpage of /a

Page Locking

how DokuWiki do it.

You can't edit the page while another's editing the same page

Set a lock:

  • When user gets into edit-page.php Refresh a lock:
  • When user hits the preview button Lock is expired:
  • It is more then xxx seconds old (xxx: 'LOCK_TIME' in /inc/config.php) Lock is deleted:
  • When user hots the save button ToDo:
  • Refresh the lock in the background while user is editing page
  • Section level locking
  • Delete the lock when user hits the cancel button
Something went wrong with that request. Please try again.