User:Roger/Wg custom

From Wikigogy

Jump to: navigation, search

This page records Wikigogy.org customizations

Contents

[edit] images

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

[edit] includes

[edit] includes/SpecialPreferences.php

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

[edit] includes/SpecialSearch.php

renders the Search results page. I customized it as follows:

I lengthened the Search box from 60 to 136 characters:

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

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

[edit] not in use

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

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

[edit] System messages

Site user-interface messages stored in the db

[edit] 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).
  • #MediaWiki:Common.css is explained in Skin section below.

[edit] Added-

[edit] Skin

[edit] MediaWiki:Common.css

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

[edit] 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).

[edit] 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

[edit] skins/common/commonPrint.css

holds print styling

[edit] 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

[edit] .htaccess

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

[edit] robots.txt

  • tells robots to skip index.php
  • other robots stuff copied from Wikipedia's robots.txt
Personal tools

Wikigogy

wiki space for
English teachers