Setup a Project Wiki: Difference between revisions

From Research
Jump to navigation Jump to search
Line 34: Line 34:


To customize access and viewing restrictions, look at this article on [http://meta.wikimedia.org/wiki/Preventing_Access Preventing Access] (this version of mediawiki is 1.4).
To customize access and viewing restrictions, look at this article on [http://meta.wikimedia.org/wiki/Preventing_Access Preventing Access] (this version of mediawiki is 1.4).
Record the database usernam & password, and how this wiki was created for in our MediaWiki on Kingfisher file.


== Add Sysop/Administrator User ==
== Add Sysop/Administrator User ==

Revision as of 22:44, 7 November 2006

Kingfisher is our wiki server. Check out the wiki index to see existing wikis.

Add a Seperate Instance of MediaWiki

# ssh root@kingfisher
# cd /srv/www/htwiki
# tar -xzvf mediawiki-unconfiguredInstallation.tar.gz
# mv mediawiki $projectname

The go to the mediawiki setup website for your project: http://wiki.iat.sfu.ca/$projectname

Fill in the options appropriately with some special Configuration options to note:
Make a seperate database for each project:

  • Database name: wiki_$projectname

Seperate username for each project:

  • DB username: wiki_$projectname

Unique password:

# apg -m 9 -MNC

And no table prefix.

Note: When you click Install! it may fail. For me it has always failed if the username was too long (it must be at 16 characters or less)

If it worked, this will create the LocalSettings.php file which you then move to the correct place:

# cd $projectname
# mv config/LocalSettings.php .

Config should no longer be world writable:

# chmod a-w config

Your wiki should be completely setup at: http://wiki.iat.sfu.ca/$projectname

I then usually go login to the wiki and add to the main page: Wiki is configured correctly. for 100% assurance that everything is working :)

To customize access and viewing restrictions, look at this article on Preventing Access (this version of mediawiki is 1.4).

Record the database usernam & password, and how this wiki was created for in our MediaWiki on Kingfisher file.

Add Sysop/Administrator User

Follow these steps to make a wiki account, a sysop account:

Create the account, if you haven't done so already. Logout. Login as the WikiSysop user.

Navigate to Special Pages -> Make a user into a sysop, or modify this link with your project name: http://wiki.iat.sfu.ca/$projectname/index.php/Special:Makesysop

Enter the username and set bureaucrat flag too.