Wiki stuff
From Shiu Lab
Contents |
Wikitext
- For a great intro on how to modify wiki pages, check out the tutorial in Wikipedia. Also, here is some user wikitext examples.
- Extended image syntax
- Create image link
- Template_talk:click: doesn't work
- Navigational image
- HTML color names, Web colors
- FCKeditor
Useful forums
- MWUsers.com
- A nice forum with a bunch of helpful hangouts.
Modifying the looks and feels
- Personal page with mediawiki
- Replace logo: LocalSettings.php, modify #wgLogo
- Change sidebar: modify special page MediaWiki:Sidebar
- Change color scheme: modify main.css in the skin folder
- Change footer,Footer,
- Modify URL: eliminate index.php
About uploading files
User right configuration
- Add new user:
- Login as a sysop/admin then use Special:Userlogin to add the new user account.
- Special:Userrights
- See mediawiki helps on: Help:User_rights, Help:Configulation_settings and Setting user right.
- 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:
- Go to shiulab cpanel
- Click on MySQL, browse to the end and select phpMyAdmin
- Select wikidb
- 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
