Difference between revisions of "Mediawiki"
From Jtkwiki
Jump to navigationJump to searchLine 17: | Line 17: | ||
<li>[http://unautreregard.ouvaton.org/wiki/index.php?title=Advanced_Mediawiki_Hacking#Allow_anonymous_users_to_edit_Talk_pages.2C_but_restrict_article_editing_to_to_Sysop_or_to_logged-in_users allow editing of talk pages, but disable other page editing] (outdated, the <code>isSysop</code> method no longer exists)</li> | <li>[http://unautreregard.ouvaton.org/wiki/index.php?title=Advanced_Mediawiki_Hacking#Allow_anonymous_users_to_edit_Talk_pages.2C_but_restrict_article_editing_to_to_Sysop_or_to_logged-in_users allow editing of talk pages, but disable other page editing] (outdated, the <code>isSysop</code> method no longer exists)</li> | ||
</ul> | </ul> | ||
+ | |||
+ | [[Category:Computing]] |
Latest revision as of 14:46, 18 February 2010
Customising Mediawikis
- Setting up a new skin
- Skins live in the
skins
subdirectory of a mediawiki installation.
Skins consist of:
- A PHP file defining the skin class, normally called skinName
.php
- A dependency file, typically called skinName
.deps.php
- A directory, normally called skinName, containing style sheets and images (e.g. page background graphics and the like).
- skinName represents the name of the skin. Somewhat confusingly, the name is capitalised in the PHP code files, but the directory name normally is all lowercase.
- The default skin can be set using the
$wgDefaultSkin
variable inLocalSettings.php
As an example, this wiki uses a slight variation of the
monobook
skin. - Skins live in the
- allow editing of talk pages, but disable other page editing (outdated, the
isSysop
method no longer exists)