Skip to content

iwg/phpwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6834bf5 · May 10, 2012
Feb 28, 2012
May 10, 2012
Apr 10, 2012
May 3, 2012
Feb 28, 2012
Feb 8, 2012
Mar 16, 2012
Mar 6, 2012
May 2, 2012
Mar 6, 2012
May 5, 2012
May 2, 2012
Mar 6, 2012
Mar 6, 2012
Mar 15, 2012
Mar 6, 2012
Mar 6, 2012
Mar 9, 2012
Mar 6, 2012
Mar 6, 2012
Feb 28, 2012
Feb 28, 2012
Mar 6, 2012
May 3, 2012
Apr 30, 2012

Repository files navigation

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