Difference between revisions of "Add a page to the wiki"

From LinuxMCE
Jump to: navigation, search
(Using the template {{SERVER}}{{localurl:Name of the new page to create}})
(Creating a page via search)
Line 24: Line 24:
 
* Searching for the article: the Wiki engine will perform a [[Special:Search | search]] for the new title <br> and create the article when the search finds nothing matching.
 
* Searching for the article: the Wiki engine will perform a [[Special:Search | search]] for the new title <br> and create the article when the search finds nothing matching.
 
* Following a link to a non-existent page: non-existent pages are indicated by page names highlighted in read like this: [[help:non-existent page|non-existent page]]
 
* Following a link to a non-existent page: non-existent pages are indicated by page names highlighted in read like this: [[help:non-existent page|non-existent page]]
 +
* Follow the link to the new page
 +
Your new page will be created when you save the article.
  
 
{{p}}
 
{{p}}

Revision as of 05:35, 30 September 2012


Introduction

This wiki is community driven. If you don't add information about the hardware with which you have experience, there is little chance that somebody else is going to do it (unless they happen to have the same device). Please don't be shy about adding a wiki page to this guide -- we really need your help! If a page already exists for the hardware you are using, feel free to add your experience to it. You can use the "discussion" tab at the top of the page to discuss with others, or use the forum is you have any questions.


How to add a new page

Please take the time search through the existing articles before creating a new one. To avoid duplications and confusion, add to existing pages. Only create a new page if the subject does not exist.



Creating a page via search

A request for a page is all it takes to create it.

You can create a new page by:

  • Searching for the article: the Wiki engine will perform a search for the new title
    and create the article when the search finds nothing matching.
  • Following a link to a non-existent page: non-existent pages are indicated by page names highlighted in read like this: non-existent page
  • Follow the link to the new page

Your new page will be created when you save the article.



Using the template {{SERVER}}{{localurl:Name of the new page to create}}

Typing a URL to a new page and editing the page name part of an existing page's URL will both start the page creation process.

  • Use the root of the wiki and append the name of the new article you want to create. You can use the template '''{{SERVER}}{{localurl:Name of the new page to create}}'''
    The above template creates the link "http://wiki.linuxmce.org/index.php/Name_of_the_new_page_to_create".
  • Copy the template, paste it on you user page or any page in edit mode, and replace the "New page to create" part with the name/title of the page you want to create.
  • Click on the "Show preview button at the bottom of the page. The template will turn into a link when the preview is loaded.
  • Follow the resulting link to the new page.
  • Click on the Create tab on top of the page.

Your new page will be created when you save the article.



Creating a page via URL

To add a new page, just type in a new URL into your browser like this:

http://wiki.linuxmce.org/index.php/Name of the page you want to add

The preferred URL naming convention for hardware, for example, is:

http://wiki.linuxmce.org/index.php/Manufacturer Model-Type-Etcetera

The URL of this page is:

http://wiki.linuxmce.org/index.php/Add_a_page_to_the_wiki

The wiki will replace any spaces with underscores automatically. Simply go to this URL with your browser and start editing the newly created webpage.

Categorize your new page

To categorize your new page, add tags like these at the top:

[[Category: Automation]]
[[Category: Mainboards]]

That way the page will automatically be listed in these categories, making it easier to find. See: Special:Categories for a list of all available categories. Also check out subcategories, such as the subcategories of the Hardware category, to find the appropriate subcategory.

Add content

Add anything you feel is relevant. See Editing help for some tips and examples on the markup you can use.

Add hyperlinks ('wikification')

  • For links to Categories, use the format [[:Category: Hardware]].
  • To use the actual text of a hyperlink, use this format: [[Actual Name of Webpage]], which will be displayed as Actual Name of Webpage.
  • To use alternate text for the hyperlink, use this format: [[Actual_Name_of_webpage|What I Want It to Say]], which will be displayed as

What I Want It to Say.

Move the Table of Contents to the right

Whenever you have more than four subdivisions in a page, a Table of Contents is automatically added. It you would like this table of contents to be moved to the right side of the screen (at the top), add the following code to the top of your web page:

{| align="right"
  | __TOC__
  |}