Difference between revisions of "MediaWiki"
Line 8: | Line 8: | ||
See http://www.mediawiki.org/wiki/Manual:FAQ | See http://www.mediawiki.org/wiki/Manual:FAQ | ||
+ | |||
+ | |||
+ | |||
+ | =Clear cache= | ||
+ | |||
+ | Sometimes you need to clear the cache to see the changes ; especially the UI changes (favicon, CSS, logo, ...) | ||
+ | |||
+ | Use the '''&action=purge''' command. | ||
+ | |||
+ | |||
+ | ex: http://www.daxiongmao.eu/wiki/index.php?title=Main_Page&action=purge | ||
+ | |||
+ | |||
Revision as of 15:48, 15 October 2014
Contents
Installation
Global CSS
Edit page: MediaWiki:Common.css
See http://www.mediawiki.org/wiki/Manual:FAQ
Clear cache
Sometimes you need to clear the cache to see the changes ; especially the UI changes (favicon, CSS, logo, ...)
Use the &action=purge command.
ex: http://www.daxiongmao.eu/wiki/index.php?title=Main_Page&action=purge
Special content
Sidebar
Just edit MediaWiki:Sidebar
Source: http://www.mediawiki.org/wiki/Manual_talk:Interface/Sidebar
Ex: http://www.daxiongmao.eu/wiki/index.php?title=MediaWiki:Sidebar
Copyright note
To adjust the text edit MediaWiki:Copyright
To configure the copyrights, adjust your LocalSettings.php
Source: http://www.mediawiki.org/wiki/Manual:$wgRightsText
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://creativecommons.org/licenses/by-sa/3.0/";
$wgRightsText = "Creative Commons Attribution Share Alike";
$wgRightsIcon = "$wgScript/wiki/skins/common/images/creative_commons.png";
Image
Enable upload
Great tutorial: Enable user image uploads See: http://www.inmotionhosting.com/support/edu/mediawiki/adding-content-mediawiki/enable-uploads-wiki
Insert images
Great tutorial: How to insert images into a wiki article ? See: http://www.inmotionhosting.com/support/edu/mediawiki/adding-content-mediawiki/insert-images-wiki