Difference between revisions of "Wiki Configuration"
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | ==Basic VI commands== | ||
+ | |||
+ | A decent VI cheatsheet is here: http://www.lagmonster.org/docs/vi.html | ||
+ | |||
==Post-install configuration== | ==Post-install configuration== | ||
+ | |||
+ | ===Skinning the wiki=== | ||
+ | |||
+ | The skin is in: | ||
+ | /var/lib/mediawiki/skins/Vector | ||
+ | |||
+ | In variables.less the colors are defined: | ||
+ | |||
+ | @html-font-size: 100%; | ||
+ | @light-gray: #ccc; | ||
+ | @very-light-gray: #eee;525254 | ||
+ | @dark-gray: #77787a; | ||
+ | @darkest-grey: #525254; | ||
+ | @baker-green: #0d776e; | ||
+ | @dark-baker-green: #0a5e57; | ||
+ | @light-orange: #f59972; | ||
+ | @baker-orange: #eb6d2e; | ||
+ | @dark-orange: #a63c07; | ||
+ | |||
+ | ==Setting up Content== | ||
===New category=== | ===New category=== | ||
− | Add the Internal Category [[Category:Internal]] and protect it using ACL. | + | Add the Internal Category <pre>[[Category:Internal]]</pre> and protect it using ACL. |
− | Create a category by searching for Category:Name, or by clicking a link to the category. Add a page to a category by including the tag [[Category:Name]] | + | Create a category by searching for <nowiki>Category:Name</nowiki>, or by clicking a link to the category. Add a page to a category by including the tag <nowiki>[[Category:Name]]</nowiki> |
To create a link to a category, use a leading colon before the category name (without this colon, the current page would be added to the category): | To create a link to a category, use a leading colon before the category name (without this colon, the current page would be added to the category): | ||
− | [[:Category:Help]] -> Category:Help | + | <nowiki>[[:Category:Help]] -> Category:Help</nowiki> |
To change the link text, write the text inside the link tag after a pipe: | To change the link text, write the text inside the link tag after a pipe: | ||
− | [[:Category:Help|Help category]] -> Help category | + | <nowiki>[[:Category:Help|Help category]] -> Help category</nowiki> |
See https://www.mediawiki.org/wiki/Help:Categories for more information. | See https://www.mediawiki.org/wiki/Help:Categories for more information. | ||
Line 22: | Line 46: | ||
Browse the [[:MediaWiki:Sidebar]] page and edit it. Don't include the square brackets in the links. | Browse the [[:MediaWiki:Sidebar]] page and edit it. Don't include the square brackets in the links. | ||
− | |||
==Getting started== | ==Getting started== | ||
Line 32: | Line 55: | ||
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] | * [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] | ||
− | [[Category: | + | [[Category:McNair Admin]] |
+ | [[admin_classification::IT Build| ]] |
Latest revision as of 18:46, 20 March 2017
Contents
Basic VI commands
A decent VI cheatsheet is here: http://www.lagmonster.org/docs/vi.html
Post-install configuration
Skinning the wiki
The skin is in:
/var/lib/mediawiki/skins/Vector
In variables.less the colors are defined:
@html-font-size: 100%; @light-gray: #ccc; @very-light-gray: #eee;525254 @dark-gray: #77787a; @darkest-grey: #525254; @baker-green: #0d776e; @dark-baker-green: #0a5e57; @light-orange: #f59972; @baker-orange: #eb6d2e; @dark-orange: #a63c07;
Setting up Content
New category
Add the Internal Category
[[Category:Internal]]
and protect it using ACL.
Create a category by searching for Category:Name, or by clicking a link to the category. Add a page to a category by including the tag [[Category:Name]]
To create a link to a category, use a leading colon before the category name (without this colon, the current page would be added to the category):
[[:Category:Help]] -> Category:Help
To change the link text, write the text inside the link tag after a pipe:
[[:Category:Help|Help category]] -> Help category
See https://www.mediawiki.org/wiki/Help:Categories for more information.
Change sidebar
Add the Internal pages to the mediawiki sidebar
Browse the MediaWiki:Sidebar page and edit it. Don't include the square brackets in the links.
Getting started
Consult the User's Guide for information on using the wiki software.