Wiki Setup
From MVR Designs
Contents
Things to do
- Setup user login
- prevent anonymous users from viewing site
- add robots.txt file
- add upload restrictions to local_settings.php
Steps to Set Up Wiki
- Created as a addon domain of looseletters.ca in home/public_html folder
- Used oneclick install in CPanel to install MediaWiki as MVR Designs
- Added name servers to Domain mvrdesigns.ca at rebel.ca (took 24 hours to propagate thru system)
- Stylesheets would not load. add https: to local_settings.php to get site to load securely with Https.
Local_settings.php
Parameters changed from Default
HTTPS Requirements
The protocol and server name to use in fully-qualified URLs
$wgServer = "https://mvrdesigns.ca";
Upload Requirements
To enable image uploads, make sure the 'images' directory is writable, then set this to true:
$wgEnableUploads = true;
Upload permissions
Per default, all registered users can upload files. To restrict this, you have to change:
- To prevent normal users from uploading files:
$wgGroupPermissions['user']['upload'] = false;
- To create a special group called "uploadaccess", and allow members of that group to upload files:
$wgGroupPermissions['uploadaccess']['upload'] = true;
- To allow "autoconfirmed" (non-newbie) users to upload files:</translate>
$wgGroupPermissions['autoconfirmed']['upload'] = true;
The right to replace existing files is handled by an extra permission, called reupload
:
- To prevent normal users from overriding existing files:
$wgGroupPermissions['user']['reupload'] = false;
- To allow "autoconfirmed" (non-newbie) users to replace existing files:
$wgGroupPermissions['autoconfirmed']['reupload'] = true;