Difference between revisions of "MediaWikiSiteCustomization"

From RadiWiki
Jump to: navigation, search
Line 15: Line 15:
  
 
  # Customized configuration of uploadable files
 
  # Customized configuration of uploadable files
  $wgFileExtensions = array ( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'doc', 'ppt', 'rtf');
+
  $wgFileExtensions = array ( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'doc', 'ppt', 'rtf', 'txt');
  
 
  # Give file size warnings if the to be uploaded file is bigger
 
  # Give file size warnings if the to be uploaded file is bigger

Revision as of 12:53, 14 June 2007

Usage

This page contains a log of all the changes that have been done on the MediaWiki configuration, to become the RadiWiki site as it is right now. All changes to the settings of MediaWiki, and installation and modification of extensions, etc.., should be included on this page, to easily reproduce the RadiWiki site on a clean MediaWiki installation. The latest changes should be on top of the 'Log' section

Log

Implemented upload and image authorisation, using http://www.mediawiki.org/wiki/Manual:Image_Authorisation

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads       = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
$wgUploadPath = "/wiki/img_auth.php";
# Customized configuration of uploadable files
$wgFileExtensions = array ( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'doc', 'ppt', 'rtf', 'txt');
# Give file size warnings if the to be uploaded file is bigger
$wgUploadSizeWarning = 5 * 1024 * 1024;

/etc/php5/apache2/php.ini

; Maximum allowed size for uploaded files.
upload_max_filesize = 150M


Netadmin 14:20, 14 June 2007 (CEST)

Copied the dare.png file to the server, and adjusted:

# set the logo of the site
$wgLogo             = "$wgStylePath/common/images/dare.png";


Netadmin 12:26, 14 June 2007 (CEST)

Changed the MediaWiki:Sidebar

* navigation
** mainpage|mainpage
** http://www.dare.nl/%7Cdare.nl
** http://www.radimation.com/%7Cradimation.com
** mailto:support@radimation.com%7Cmail support team
* tools
** recentchanges-url|recentchanges
** randompage-url|randompage

Netadmin 12:10, 14 June 2007 (CEST)

Changed the name to RadiWiki

$wgSitename         = "RadiWiki";

Netadmin 12:00, 14 June 2007 (CEST)

Set some restrictions, so it can only be edited/changed by a limited set of users.

# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;
# Disable anonymous editing
$wgGroupPermissions['*']['edit'] = false;

Netadmin 11:21, 14 June 2007 (CEST)


Added user accounts for joro and jewe

Netadmin 10:50, 14 June 2007 (CEST)