Wiki Setup

From MVR Designs
Revision as of 18:18, 3 September 2019 by MVR (Talk | contribs)

Jump to: navigation, search

Things to do

  1. Setup user login
  2. prevent anonymous users from viewing site
  3. add robots.txt file
  4. add upload restrictions to local_settings.php


Steps to Set Up Wiki

  1. Created as a addon domain of looseletters.ca in home/public_html folder
  2. Used oneclick install in CPanel to install MediaWiki as MVR Designs
  3. Added name servers to Domain mvrdesigns.ca at rebel.ca (took 24 hours to propagate thru system)
  4. 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;