Open main menu

Changes

11 bytes added ,  00:42, 23 October 2008
no edit summary
As for complete icon sets, there are a few well-known sets in the Free Software community.
; Crystal : The KDE crystal set is nice, and you can find out more at [http://everaldo.com/crystal/ Everaldo's website].
; Oxygen : The standard icon theme for KDE4 You can also get scalable vector graphics from the oxygen set. If you <source lang="bash">sudo apt-get install kde-icons-oxygen </source>, you should find them on your system in /usr/lib/kde4/share/icons/oxygen/ Note that you need an application (like Konqueror, Dolphin, Gwenview or Inkscape - but not Gqview) that can display SVG to view the svgz files. http://www.oxygen-icons.org/
; Tango : http://tango.freedesktop.org/Tango_Desktop_Project
== How to change the navigation ==
The navigation system is setup through a special type called an 'interface message'. (The interface message system is also used for many other aspects of the Mediawiki system.) This means that you don't actually have to change 'code' to affect the menu. You can simply edit a special page in the mediawiki system. Edits to this page get stored in the database like every other page edit which provides built-in versioning etc. However, it can also mean that pushing changes from a development machine to a server can be more challenging than pushing 'code' changes.
In any case, to change the nav, you will want to edit the '''MediaWiki:Sidebar''' page. (e.g. <nowiki>http://example.com/wiki/index.php/MediaWiki:Sidebar</nowiki>) The right to edit this page is normally restricted to administrators, so if you want to delegate the responsibility for this, you will want to look at the user permissions system. There are rules and conventions which apply here, and you can [[MediaWiki:Manual:Navigation_bar | find more help in the documentation]]. In case you are going to change the location of blocks like the '''search''' box or '''toolbox''' (which normally show up in the sidebar) by making a custom theme, you'll want to coordinate those changes with the sidebar.
== How to make your own skin ==
A skin generally has it's own directory, plus two setup files.
If you wanted to create a skin called 'Happy' you would have
<pre>
happy
# Edit Happy.php and change the class name to SkinHappy: <source lang="php">class SkinHappy extends SkinTemplate;</source>
# In Happy.php, change the template class to have your skin name together with the word 'Template': <source lang="php">class HappyTemplate extends QuickTemplate;</source>
# Also in Happy.php, make the references to the skin match the names:
<source lang="php">
$this->skinname = 'happy'; // matches the physical directory name $this->stylename = 'happy'; // matches the physical directory name $this->template = 'HappyTemplate'; // matches the template class name
</source>
# In your happy directory edit the image and CSS files until your heart is content;
The [http://meta.wikimedia.org/wiki/Layout_design_document Layout Design Document] might cover some relevant info, but a quick glance makes it seem that it's circa 2004.
 
[[Category:Design]]
[[Category:Wiki]]
4,558

edits