Difference between revisions of "Wiki Configuration"

From edegan.com
Jump to navigation Jump to search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Basic VI commands==
 
==Basic VI commands==
 +
 +
A decent VI cheatsheet is here: http://www.lagmonster.org/docs/vi.html
  
 
==Post-install configuration==
 
==Post-install configuration==
Line 25: Line 27:
 
===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 44: 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 54: 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:Internal]]
+
[[Category:McNair Admin]]
 +
[[admin_classification::IT Build| ]]

Latest revision as of 18:46, 20 March 2017

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.