bookish
Blog Menu
Blog Stats
1 Blog entries
0 Comments
0 Page views Archive January 2022 February 2022 March 2022 April 2022 May 2022 June 2022 July 2022 August 2022 September 2022 October 2022 November 2022 December 2022 Recent Blogs |
Choosing a wiki | December 10, 2006, 08:48:44 AM | The number of wiki software packages is quite large now. To find out which ones are most popular I consulted Wikipedia:
http://en.wikipedia.org/wiki/Wiki_software
MediaWiki is the heavyweight application used by Wikipedia. Out of the remaining candidates pmWiki was my choice:
http://www.pmwiki.org/
It's a PHP application which creates and manages its own database (no need to create a MySQL database). Once uploaded, the site consists of pre-installed documentation.
The first two changes I made were to set up a password for the administrator and another password to protect pages from editing. To do that, I copied the "sample-config.php" file from the "docs" subdirectory to a new "config.php" file in the wiki's root directory. Then I changed...
# $DefaultPasswords['admin'] = crypt('secret'); to $DefaultPasswords['admin'] = crypt('secret');
The "#" character causes PHP to ignore a line. Removing it activates the line. Next, I added another line immediately below it to require a password to edit any page:
$DefaultPasswords['admin'] = crypt('secret'); $DefaultPasswords['edit'] = crypt('secret');
In the pmWiki documentation 'secret' is the example password. You would need to change it to the password of your choice. Once that's done, you can take your time to read through the extensive documentation and try things out.
Initially, the wiki main page is a file within the wiki directory:
http://example.com/wiki_directory/pmwiki.php
An "index.php" file needs to be created for the main page to reside at http://example.com/wiki_directory/. The index file only needs to contain one line:
<?php include('pmwiki.php'); |
(0 Comments) (0 views) | First Prev 1 Next Last |
Loading...
|