Wiki stuff

From Shiu Lab

Jump to: navigation, search

Contents

Wikitext

Useful forums

MWUsers.com
A nice forum with a bunch of helpful hangouts.

Modifying the looks and feels

About uploading files

Check this out.

User right configuration

  • We don't want anonymous account creation, read or write access. The following are included in the LocalSetting.php:
$wgGroupPermissions['*'    ]['createaccount']   = false;
$wgGroupPermissions['*'    ]['read']            = false;
$wgGroupPermissions['*'    ]['edit']            = false;
  • Under this setting, account creation require first login as sysop, then go to Special:Userlogin to setup a new account.
  • Also, non sysop can only create pages that link to their personal page but not the core content. Haven't figure out how to do this yet.
  • To change password:
    1. Go to shiulab cpanel
    2. Click on MySQL, browse to the end and select phpMyAdmin
    3. Select wikidb
    4. Click on the "SQL" tab then provide the following info:
UPDATE user SET  
user_password=md5(concat(user_id,'-',md5('mynewpassword')))
where user_name ='WikiSysop' ;

User group

  • To change user's groups:
    • Browse to your wiki
    • Make sure to be logged in as a sysop
    • Click on 'special pages' in the lower left corner
    • Scroll to the bottom of that page and click on 'User Rights Management'
    • Enter the user's username to be changed
    • Add them to the groups you would like (you can CTRL-click to select more than one group at a time)
  • Adding users to the 'restrict' group allows them to both view and restrict pages
  • Adding users to the 'view restrict' group allows them to only view restricted pages

Server aspects

  • Wanted to disable directory browsing. Add the following line to .htaccess:
Options -Indexes
Personal tools