Changes to Wikimedia

From Researchandideas
Jump to navigationJump to search

Changes on 12-19-2007

Installation

Wikimedia installed at Research and Ideas

Preventing anonymous editing

Add this to LocalSettings.php

$wgGroupPermissions['*']['edit'] = false;

Allowing only admins to create accounts

Add this to LocalSettings.php (requires 1.5.1)

$wgGroupPermissions['*']['createaccount'] = false;

Allow Uploads

To enable image uploads, make sure the 'images' directory is writable, then set this to true:

$wgEnableUploads = true;

Created an 135 by 135 png logo

Uploaded it to /www/skins/common/images/

directory and renamed it wiki.png

Added Citation Extension

Downloaded citation extension from MediaWiki

Installed the extension files in the directory wiki/extensions/Cite.

Added the following to the LocalSettings.php file:

require_once( $IP.'/extensions/Cite/Cite.php' );

Installed the Template:Reflist

Went to Template:Reflist on Wikipedia

Clicked on "View Source" and copied the source

Created a new page: Template:Reflist

Copied the source.

It works.

Changes on 12-20-2007

Allow Users to Register

Add this to LocalSettings.php (requires 1.5.1)

$wgGroupPermissions['*']['createaccount'] = true;

Do Not Allow Users to Create New Pages

Add this to LocalSettings.php

$wgGroupPermissions['*']['createpage'] = false;

$wgGroupPermissions['user']['createpage'] = false;

Changes on 12-22-2007

Give the Administrator Permission to Create New Pages

Add this to LocalSettings.php

$wgGroupPermissions['sysop']['createpage'] = true;