Difference between revisions of "MediaWikiSiteCustomization"

From RadiWiki
Jump to: navigation, search
Line 7: Line 7:
  
 
== Log ==
 
== Log ==
 +
 +
Installed the ParserFunctions extension, using the directions on: http://meta.wikimedia.org/wiki/ParserFunctions
 +
 +
# Load the ParserFunctions extension
 +
require_once("extensions/ParserFunctions/ParserFunctions.php");
 +
  
 
Changed lines into a nice detailed red-line (in the monobook and the dare-skin)
 
Changed lines into a nice detailed red-line (in the monobook and the dare-skin)

Revision as of 14:12, 20 June 2007

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

Be aware that the default skin is 'dare'! This skin is used for not-logged in users. Logged-in users should use the 'monobook' skin. Both skins are the same, except that the 'top-tabs' are not shown for the 'dare' skin.

Information.png
Note: Ensure that changes to the skins, are updated in the 'dare' and the 'monobook' skin

Log

Installed the ParserFunctions extension, using the directions on: http://meta.wikimedia.org/wiki/ParserFunctions

# Load the ParserFunctions extension
require_once("extensions/ParserFunctions/ParserFunctions.php");


Changed lines into a nice detailed red-line (in the monobook and the dare-skin)

h1, h2, h3, h4, h5, h6 {
        color: black;
        background: none;
        font-weight: normal;
        margin: 0;
        padding-top: .5em;
        padding-bottom: .17em;
/*      border-bottom: 1px solid #aaa; */
        border-bottom: 1px solid red;
}

Joro 16:09, 19 June 2007 (CEST)

Removed the top-tabs from the dare-skin (/var/www/wiki/skins/dare/main.css):

#p-cactions li {
    display: none;
}

Joro 15:57, 19 June 2007 (CEST)

Created a dare specific skin, using the adjusted monobook as an example. Procedure that is followed to create a custom skin: http://meta.wikimedia.org/wiki/Skins

Also changed the default skin to 'dare'

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'dare';

Joro 15:55, 19 June 2007 (CEST)

Changes to the Monobook skin in: /var/www/wiki/skins/monobook/main.css

body {
/*      background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat; */
        background: #f9f9f9 url(http://www.dare.nl/gfx/gif/menu.gif) 0 0;
}
#column-one {
    padding-top: 85px;
}
.portlet h5 {
       color: white;
}

Joro 15:38, 19 June 2007 (CEST)

Set to use a slightly modified logo of the www.dare.nl website

# set the logo of the site
$wgLogo             = "/wiki/skins/common/images/logo_DARE.gif";

Joro 15:22, 19 June 2007 (CEST)

All RadiMation related articles are exported from the DKB site, and imported in the RadiWiki site

Netadmin 15:46, 14 June 2007 (CEST)

Added a 'Print as PDF' option in the toolbox, using the Export PDF extension for MediaWiki. Used the directions on: http://www.mediawiki.org/wiki/Extension:Pdf_Export

# Load the SpecialPdf extension
require_once("extensions/SpecialPdf.php");

Netadmin 15:28, 14 June 2007 (CEST)

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             = "/wiki/skins/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)