Mw:Skins
From Kb_JMY(晉明夷)
- Mediawiki: Skins
How to install new skins?
- Ref:
- Assumes:
- mediawiki installation folder: "public_html/kb"
- original default skin: "monobook.zip"
- New default skin: "nullbook.zip"
- Procedures:
- Upload the skin, extract it to the skins folder "public_html/kb/skins"
- Edit LocalSettings.php:
- -> change "$wgDefaultSkin = 'monobook';"
- -> to "$wgDefaultSkin = 'nullbook';"
- Login your wiki account
- -> click "my preferences" -> "skin" -> select your skin to "nullbook"
- -> click "save"
- That's it!
monobook skin -- Google Adsense Ready
- Ref:
- Assumes:
- mediawiki installation folder: "public_html/kb"
- skin file: monobook_ads_Adsense_Ready.tar.gz
- Procedure:
- explode the skin into the mediawiki skin directory "public_html/kb/skins"
- Edit LocalSettings.php:
- -> change "$wgDefaultSkin = 'monobook';"
- -> to "$wgDefaultSkin = 'monobook_ads';"
- Login your wiki account
- -> click "my preferences" -> "skin" -> select your skin "monobook_ads"
- -> click "save"
- That's it!
- FAQ: I can see the Ads when I have logged-in, and NOT when logged out, why?
- Reason: you have set the $wgDefaultSkin to the new value -- i.e. "$wgDefaultSkin = 'monobook_ads';"

