User:Rogerhc/Customizations to my MediaWiki 1.9.2

This page records my customizations to my MediaWiki instance at http://wikigogy.org as of 30 October 2010


 * MediaWiki: 1.9.2
 * PHP: 5.2.14 (litespeed)
 * MySQL: 5.0.91-community-log

images
images/ dir holds all uploaded files in a labyrinthine dir structure

includes/SpecialPreferences.php
is where I comment out Skins tab in User Preferences. I also restrict skin choices to Monobook (standard) in LocalSettings.php.

includes/SpecialSearch.php
renders the Search results page. I customized it as follows:

I lengthened the Search box from 60 to 136 characters:

htmlspecialchars( $term ) ."\" size=\"136\" />\n";
 * 1) Roger changed the search box size from 60 to 136, below:

I also added lots of javascript there to do the keyword buttons.

not in use
A system message, suck as MediaWiki:Added-keyword, could be added it below the search box with:

$wgOut->addWikiText( wfMsg( 'added-keyword' ) );
 * 1) Roger added the next line to include Keywords for copy and paste into Search box

System messages
Site user-interface messages stored in the db

Edited

 * MediaWiki:Allmessages shows with a green background my many changes to standard messages (standard as of MediaWiki 1.6.7 that I started Wikigogy.org with).
 * is explained in Skin section below.

Added-

 * Added MediaWiki messages -- lists new system messages I create, as long as I always name them like "MediaWiki:Added-...", e.g. MediaWiki:Added-keyword

MediaWiki:Common.css
MediaWiki:Common.css holds most main.css customizations now. This is a database "page", not a system file.

skins/monobook/main.css
holds something still, to remind me to keep an eye on it -- I think the commenting out of logo padding actually (column-one styling).

skins/MonoBook.php
holds
 * the page HTML title tag customization -- e.g. "Wikigogy, to share TEFL & TESL lesson plans"
 * plain text logo replacement and sub-text

skins/common/commonPrint.css
holds print styling

LocalSettings.php

 * chmod it for my eyes only
 * Enable file uploads and list permitted file extentions (default in includes/DefaultSettings.php is just images)
 * Short URL stuff (in collaboration with .htaccess)
 * Skin choices restricted to Monobook (standard). I also remove the Skin tab from User Preferences in includes/SpecialPreferences.php

.htaccess

 * Short URL stuff (in collaboration with LocalSettings.php)

robots.txt

 * tells robots to skip index.php
 * other robots stuff copied from Wikipedia's robots.txt