User:Rogerhc/Customizations to my MediaWiki 1.16.0

Let's be simple this time!

Upgraded MW 1.9.2 to MW 1.16.0
back up database and wikigogy.org

w g e t MediaWiki 1.16.0 and untar (on server), mv to wikigogy.org.1.16.0

w g e t & untar latest stable Badbehavior (2.0.38) in wikigogy.org.1.16.0/extentions (config stuff is already in my LocalSettings.php)

Copy from wikigogy.org to wikigogy.org.1.9.2
 * LocalSettings.php
 * .htaccess
 * robots.txt
 * favicon.ico
 * images dir

add db admin user and password to LocalSettings.php (used to be in adminSettings.php). Make sure LocalSettings.php is not world readable.

cd wikigogy.org.1.9.2/maintenance && php update.php (to update db entries)

set 'vector' skin as default skin in LocalSettings.php

add 'monobook', 'modern' to list of suppressed skin choices in LocalSettings.php

uncomment $wgReadOnly='site locked for maintenance' at bottom of wikigogy.org/LocalSettings.php

mv wikigogy.org wikigogy.org.1.9.2 && mv wikigogy.org.1.16.0 wikigogy.org

upload logo to images:wikigogy-logo.jpg, surf to it and copy full url to image file

set logo to that url in Localsettings.php

System messages
Have a look at http://wikigogy.org/index.php?title=Special%3AAllMessages&prefix=&filter=modified&lang=en (click through all pages, bottom) and note in particular:
 * MediaWiki:Pagetitle -- browser page title (there $1 is page name)
 * MediaWiki:Sitenotice
 * MediaWiki:Sidebar
 * MediaWiki:Licenses -- File upload license choices
 * MediaWiki:Copyright -- rel="license"

Skins
Have a look at:
 * MediaWiki:Common.css <-- patched up blue content border that Roger's table busted
 * MediaWiki:Monobook.css
 * MediaWiki:Vector.css <-- new MediaWiki 1.16.0 skin, set as Wikigogy default in LocalSettings.php

Printable version
Fix up printable version of Wikigogy by adding the following at bottom of skins/common/commonPrint.css:

/*Roger*/ .catlinks, #siteSub, #contentSub { display:none; } /*don't print Category links and Site and Content Subtitles*/ .printfooter { font-size:70%; }                   /*print small*/ /* /Roger */
 * 1) toc { display:none; }                            /*don't print TOC*/
 * 1) f-list { font-size:70%; }                        /*print small*/

Any item of class="noprint" will not appear in printable version of pages. That class is a MediaWiki mainstay and is primarily defined in skins/common/commonPrint.css, simply as {display:none;}.

Google ads
To display Google ads, Roger edited wikigogy.org/skins/Vector.php as follows:

Added right below :

Above table messed with Vectos skin's blue border on content. I patched the blue border in MediaWiki:Common.css.

The class="noprint" removes the ads from the printable version of pages.

Search
I have not migrated Roger's custom keyword button search javascript from the MediaWiki 1.9.2 Wikigogy. Not sure we need it at the moment.

I may experiment implementing Google Search extension.