|
Literature
Africa |
Add a PmWiki SiteAdminNotes | Add a PmWiki site On the UJ Physics server we use PmWiki, and multiple sites with a single software install. This makes it easier to keep the software (which is not a standard SL RPM) updated even if the wikis become many more. Procedure to add a PmWiki SiteYou start by making a copy of the template wiki site, and adjusting permissions (because $ cd /WWW/wiki $ cp -r AAA_ExampleWiki yoursite $ sudo ./fixPerm.sh Then you tell Apache where to find the new Wiki: in Alias /wiki/yoursite /WWW/wiki/yoursite/index.php and update Apache: Then edit $title = "My synchrotron wiki"; $ScriptUrl = "/wiki/yoursite"; See notes in the config.php file for setting a site admin password. If unset, it gets the global wiki admin password. And then enjoy your new wiki! Please read about PmWiki. Procedure to add User AuthenticationYou can configure your wiki site to use, instead of the normal single password for everybody, separate users, each with his own password. Users can also belong to groups, and user groups can be given specific rights (Attributes) to specific pages (using Please note that an admin password (set in Procedure:
#$DefaultPasswords['admin']='$1$xxxxxxxxxxxxxxx';
$DefaultPasswords['admin']="@admin";
$DefaultPasswords['attr']="@admin";
$DefaultPasswords['edit']=array("@admin","@myeditors");
$DefaultPasswords['upload']=array("@admin","@myeditors");
* %item rel=nofollow class=print accesskey='$[ak_print]'%[[{$FullName}?action=print | $[Print] ]]
* %item class=browse accesskey='$[ak_view]'%[[{$FullName} | $[View] ]]
* %item rel=nofollow class=diff accesskey='$[ak_history]'%[[{$FullName}?action=diff | $[History] ]]
(:if !authid:)
* %item rel=nofollow class=login accesskey='$[ak_login]'%[[{$FullName}?action=login | $[Login] ]]
(:if auth edit:)
* %item rel=nofollow class=edit accesskey='$[ak_edit]'%[[{$FullName}?action=edit | $[Edit] ]]
* %item rel=nofollow class=rename accesskey='$[ak_edit]'%[[{$FullName}?action=rename | $[Rename] ]]
* %item rel=nofollow class=links accesskey='$[ak_edit]'%[[{$FullName}?action=links | $[Links] ]]
(:if auth upload:)
* %item rel=nofollow class=upload accesskey='$[ak_attach]'%[[{$FullName}?action=upload | $[Attach] ]]
(:if auth attr:)
* %item rel=nofollow class=attr accesskey='$[ak_Attr]'%[[{$FullName}?action=attr | $[Attributes] ]]
(:if authid:)
* %item rel=nofollow class=logout accesskey='$[ak_logout]'%[[{$FullName}?action=logout | $[Logout] ]]
(:if:)
|