<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Part_3.0_-_Organising_Content</id>
	<title>Part 3.0 - Organising Content - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Part_3.0_-_Organising_Content"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Part_3.0_-_Organising_Content&amp;action=history"/>
	<updated>2026-04-23T16:59:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://training-course-material.com/index.php?title=Part_3.0_-_Organising_Content&amp;diff=26888&amp;oldid=prev</id>
		<title>Bernard Szlachta at 13:43, 10 July 2015</title>
		<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Part_3.0_-_Organising_Content&amp;diff=26888&amp;oldid=prev"/>
		<updated>2015-07-10T13:43:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:MediaWiki for Content Editors|020]]&lt;br /&gt;
{{Cat|MediaWiki}}&lt;br /&gt;
{{Cat|course_code_mwedit1}}&lt;br /&gt;
==Sidebar⌘==&lt;br /&gt;
The sidebar that appears on the left of every page contains a number of useful tools.&lt;br /&gt;
&lt;br /&gt;
A link to the main page.&lt;br /&gt;
&lt;br /&gt;
A link to recent changes - this shows all recent changes made on the wiki in a similar way to pay history.&lt;br /&gt;
&lt;br /&gt;
Random page - takes you to a random page on the wiki.&lt;br /&gt;
&lt;br /&gt;
Help - an external link to the MediaWiki help page. very useful if you forget how to do something.&lt;br /&gt;
&lt;br /&gt;
What links here - shows all pages that link to the current page. This can be useful for many reasons, i.e fixing redirects.&lt;br /&gt;
&lt;br /&gt;
Related changes - shows all changes made related to the current page.&lt;br /&gt;
&lt;br /&gt;
Upload file - allows you to upload a file, this is disabled by default.&lt;br /&gt;
&lt;br /&gt;
Special Pages - takes you to a list of special pages.&lt;br /&gt;
&lt;br /&gt;
Printable Version - generates a printable version of the page.&lt;br /&gt;
&lt;br /&gt;
Permanent link - link.&lt;br /&gt;
&lt;br /&gt;
Page Information - Gives generally useful information about a page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Special Pages⌘==&lt;br /&gt;
Contains special pages, that allow you to view or edit certain parts of the wiki.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
All pages - view all pages&lt;br /&gt;
&lt;br /&gt;
Block users - allows you to block a user from the wiki&lt;br /&gt;
&lt;br /&gt;
User rights management - allows you to see permissions of different user groups.&lt;br /&gt;
&lt;br /&gt;
==Localsettings.php⌘==&lt;br /&gt;
While you probably won&amp;#039;t be touching code, its important to be aware of this file as all important changes are made here.&lt;br /&gt;
&lt;br /&gt;
In your mediawiki directory, normally located in /var/www/mediawiki, there will be a file Localsettings.php.&lt;br /&gt;
&lt;br /&gt;
This is your for a number of configuration options, from enabling extensions to defining user permissions.&lt;br /&gt;
&lt;br /&gt;
==Categories⌘==&lt;br /&gt;
A category is a page in the Category namespace &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[Category:category name]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include a page in a Category:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; put [[Category:category name]] anywhere on the page&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preferences⌘==&lt;br /&gt;
There are many User preferences that can be changed in Special:Preferences.&lt;br /&gt;
&lt;br /&gt;
Theres also a link at the top right of all pages.&lt;br /&gt;
&lt;br /&gt;
This can allow you to change a number of options that will only effect your account,&lt;br /&gt;
&lt;br /&gt;
such as skin changing, gadgets, timezone and alot more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==creating a template⌘==&lt;br /&gt;
To create a template, we simply create a page prefixed with Template:&lt;br /&gt;
&lt;br /&gt;
The template can contain anything you like.&lt;br /&gt;
&lt;br /&gt;
Templates are stored in the Template: namespace.&lt;br /&gt;
&lt;br /&gt;
==Using a template⌘==&lt;br /&gt;
To include a template:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{TemplateName}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
we can use tags &amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt; and &amp;lt;includeonly&amp;gt;&amp;lt;/nowiki&amp;gt; to specify which parts of the template are included.&lt;br /&gt;
&lt;br /&gt;
we can also pass paramenters into a template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Written by : {{{Name|}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
we include it with a parameter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Footer|Name=David}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==When to use a template⌘==&lt;br /&gt;
Footer/Header&lt;br /&gt;
&lt;br /&gt;
Info box&lt;br /&gt;
&lt;br /&gt;
Navigation boxes&lt;br /&gt;
&lt;br /&gt;
Generally items that will appear on more than 1 page&lt;br /&gt;
&lt;br /&gt;
Wikipedia uses info box templates on many pages.&lt;br /&gt;
&lt;br /&gt;
http://en.wikipedia.org/wiki/Template:Infobox_person&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
&lt;br /&gt;
Create new page Template:Footer in Template namespace:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
Made from organic source code.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use it on normal page:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Footer}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create Template:Table template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;500&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | {{{ Title }}}&lt;br /&gt;
|-&lt;br /&gt;
| Description&lt;br /&gt;
| {{{ Description }}}&lt;br /&gt;
|-&lt;br /&gt;
| Duration&lt;br /&gt;
| {{{ Duration | 7 hours }}}&lt;br /&gt;
|-&lt;br /&gt;
| Prerequisites&lt;br /&gt;
| {{{ Prerequisites | Basic knowledge of computer use.}}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use it and assign values to the variables:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{&lt;br /&gt;
Table&lt;br /&gt;
| Title=MediaWiki for Content Editors&lt;br /&gt;
| Description=MediaWiki course for power users&lt;br /&gt;
| Duration=14 hours&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Namespaces⌘==&lt;br /&gt;
Namespace&amp;#039;s are used to distinguish between different types of content.&lt;br /&gt;
&lt;br /&gt;
Namespace is shown as a prefix to the page name, e.g Talk:MyPage&lt;br /&gt;
&lt;br /&gt;
A Namespace seperates out your content, so a page MyPage in the Talk namespace is different to MyPage in the Main namespace.&lt;br /&gt;
&lt;br /&gt;
You can&amp;#039;t create a namespace by trying to create any page with a prefix.&lt;br /&gt;
&lt;br /&gt;
It needs to been created in your Localsettings.php file, and should rarely be done.&lt;br /&gt;
&lt;br /&gt;
define(&amp;quot;NS_NAME&amp;quot;, 44);&lt;br /&gt;
&lt;br /&gt;
$wgExtraNamespaces[NS_NAME] = &amp;quot;Name&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s important to make sure that the number is not used by any other namespace, by default -1 - 15 are used.&lt;br /&gt;
&lt;br /&gt;
==Skins⌘==&lt;br /&gt;
You can a skin to change the appearance of your wiki.&lt;br /&gt;
&lt;br /&gt;
You can set a default skin, and by default users can choose there own skin in [[Special:Preferences#mw-prefsection-rendering]]&lt;br /&gt;
&lt;br /&gt;
==Custom CSS and JavaScript⌘==&lt;br /&gt;
Custom CSS can be added on MediaWiki:Custom.css and MediaWiki:custom.js pages.&lt;br /&gt;
&lt;br /&gt;
http://www.mediawiki.org/wiki/Manual:CSS&lt;br /&gt;
&lt;br /&gt;
==Exercise ⌘==&lt;br /&gt;
*Move date into a footer Template.&lt;br /&gt;
*Add footer template to all your pages.&lt;br /&gt;
*Create a cheese category and add your pages to it.&lt;br /&gt;
*create a Food Category and add your &amp;quot;cheese&amp;quot; page to it.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Internal link to another page:&lt;br /&gt;
[[Main Page]]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[Main Page]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Internal link to another page with custom name:&lt;br /&gt;
[[Main Page| Go to Main Page]]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[Main Page| Go to Main Page]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Internal link to section on current page:&lt;br /&gt;
[[#Templates| Go to Templates section]]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[#Templates| Go to Templates section]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Internal link to section on another page:&lt;br /&gt;
[[MediaWiki for Content Editors#Templates| Go to Templates section on MediaWiki for Content Editors page]]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[MediaWiki for Content Editors#Templates| Go to Templates section on MediaWiki for Content Editors page]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
External link with custom name:&lt;br /&gt;
[http://apple.com Apple Inc.]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[http://apple.com Apple Inc.]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Image link:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[File:Arduino logo.png| link=http://arduino.cc]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Magic words and variables ==&lt;br /&gt;
Disable edit section on page:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;__NOEDITSECTION__&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Force showing Table of Contents:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;__FORCETOC__&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get number of pages:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{NUMBEROFPAGES}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Redirects ==&lt;br /&gt;
Create redirect:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#REDIRECT [[New Page]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Customization ==&lt;br /&gt;
* Custom CSS styles can be added to MediaWiki:Common.css page in MediaWiki namespace.&lt;br /&gt;
* Custom JavaScript code can be placed on MediaWiki:Common.js page in MediaWiki namespace.&lt;br /&gt;
* Sidebar can be changed on page MediaWiki:Sidebar in MediaWiki namespace.&lt;/div&gt;</summary>
		<author><name>Bernard Szlachta</name></author>
	</entry>
</feed>