个人工具

“UbuntuHelp:WikiGuide/PageCreation”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的2个中间版本)
第9行: 第9行:
 
* RecentChanges - See where people are currently working.
 
* RecentChanges - See where people are currently working.
 
* FindPage - Search or browse the database in various ways.
 
* FindPage - Search or browse the database in various ways.
* [[UbuntuHelp:TitleIndex|TitleIndex]] - A list of all pages in the wiki.
+
* TitleIndex - A list of all pages in the wiki.
 
* WordIndex - A list of all words that are part of page titles.
 
* WordIndex - A list of all words that are part of page titles.
 
=== Integrate ===
 
=== Integrate ===
第20行: 第20行:
 
Choosing a good name is very important to ensure that a user who is searching for the page will find it easily. So:
 
Choosing a good name is very important to ensure that a user who is searching for the page will find it easily. So:
 
<ol><li>Choose a descriptive name
 
<ol><li>Choose a descriptive name
</li><li>Choose a name with some capital letters (such as [[UbuntuHelp:WikiName|WikiName]]). This will ensure that the page has a similar style of name to the existing pages.
+
</li><li>Choose a name with some capital letters (such as WikiName). This will ensure that the page has a similar style of name to the existing pages.
 
</li><li>Avoid using the word "Howto" in the page title. Everything here is a howto!
 
</li><li>Avoid using the word "Howto" in the page title. Everything here is a howto!
 
</li><li>Do not use spaces or dashes in the name.</li></ol>
 
</li><li>Do not use spaces or dashes in the name.</li></ol>
第27行: 第27行:
 
Try to make it broadly similar to the page's wiki name so that the link between the page URL and its title is more obvious. For example, if you had a page named ''Installing''''''Server''''''Software'', it would be better to use the title ''Installing Server Software'' than ''Adding Server Apps''.
 
Try to make it broadly similar to the page's wiki name so that the link between the page URL and its title is more obvious. For example, if you had a page named ''Installing''''''Server''''''Software'', it would be better to use the title ''Installing Server Software'' than ''Adding Server Apps''.
 
=== Create the Page ===
 
=== Create the Page ===
There are several ways to create a new pagem but all of them require that you first '''Log-in'''
+
There are several ways to create a new page but all of them require that you first '''Log-in'''
 
==== By visiting the page ====
 
==== By visiting the page ====
 
<ol><li>Type the address for the new page into the address bar of your browser.  Since the page does not exists because you performed the searches discussed above, Moin``Moin will suggest to create it.''
 
<ol><li>Type the address for the new page into the address bar of your browser.  Since the page does not exists because you performed the searches discussed above, Moin``Moin will suggest to create it.''
</li><li>Select a template from the left side of the page that opens. [[UbuntuHelp:DocumentationTemplate|DocumentationTemplate]] is a default template you can use for any page. There are also some specialized templates to choose from.</li></ol>
+
</li><li>Select a template from the left side of the page that opens. DocumentationTemplate is a default template you can use for any page. There are also some specialized templates to choose from.</li></ol>
  
 
==== Add a link on another page ====
 
==== Add a link on another page ====
 
<ol><li>Edit another page
 
<ol><li>Edit another page
</li><li>Add a link to the new page, either as a [[UbuntuHelp:WikiName|WikiName]] or as `[[UbuntuHelp:Name With Spaces|Name With Spaces]]`
+
</li><li>Add a link to the new page, preferably like this: `[[UbuntuHelp:PageName|Page Name]]`
 
</li><li>Save the page and click the new link
 
</li><li>Save the page and click the new link
 
</li><li>Click one of the template names
 
</li><li>Click one of the template names
第55行: 第55行:
 
* To learn more how to set variables see HelpOnVariables
 
* To learn more how to set variables see HelpOnVariables
 
----
 
----
* [[UbuntuHelp:/PageDiscussion|Discuss this page]]
 
 
* Go back to [[UbuntuHelp:WikiGuide|WikiGuide]]
 
* Go back to [[UbuntuHelp:WikiGuide|WikiGuide]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 21:17的最新版本

<<Include(WikiGuide/Toolkit/MenuBar)>>

Introduction

This section deals with how to create pages on the Ubuntu wiki.

Search and Integrate. Don't Duplicate.

Before adding a page to the wiki, make sure you do a comprehensive search.

Search

  • RecentChanges - See where people are currently working.
  • FindPage - Search or browse the database in various ways.
  • TitleIndex - A list of all pages in the wiki.
  • WordIndex - A list of all words that are part of page titles.

Integrate

  • Don't add another page if a guide, article, or document already exists on a particular subject.
  • If you think the existing document could be better, is out of date, or missing something, then improve it!
  • Either add or integrate the material with the existing page in the appropriate place.

New Pages

If no such article exists, please feel free to create a new page.

Choose a Name

Choosing a good name is very important to ensure that a user who is searching for the page will find it easily. So:

  1. Choose a descriptive name
  2. Choose a name with some capital letters (such as WikiName). This will ensure that the page has a similar style of name to the existing pages.
  3. Avoid using the word "Howto" in the page title. Everything here is a howto!
  4. Do not use spaces or dashes in the name.

You can manually specify a page name to make the title displayed on the page more descriptive and easier to read. For instance, compare the title Resizing Your Photos with Photos/Resizing'Photos. To do so, insert #title Page Name as the first' line in a document. Try to make it broadly similar to the page's wiki name so that the link between the page URL and its title is more obvious. For example, if you had a page named Installing'Server'Software, it would be better to use the title Installing Server Software than Adding Server Apps.

Create the Page

There are several ways to create a new page but all of them require that you first Log-in

By visiting the page

  1. Type the address for the new page into the address bar of your browser. Since the page does not exists because you performed the searches discussed above, Moin``Moin will suggest to create it.
  2. Select a template from the left side of the page that opens. DocumentationTemplate is a default template you can use for any page. There are also some specialized templates to choose from.

Add a link on another page

  1. Edit another page
  2. Add a link to the new page, preferably like this: `Page Name`
  3. Save the page and click the new link
  4. Click one of the template names
  5. Edit your new page and save it

For more information on linking to other pages, see HelpOnLinking.

By using the NewPage macro

  1. Enter the page name in the text box and click "<<GetText(Create New Page)>>"
  2. Edit your page and save it

<<NewPage(HelpTemplate)>>

By using the GoTo macro

  1. Enter the page name in the text box and click "<<GetText(Go To Page)>>"
  2. Click "Create new page"
  3. Edit your page and save it

<<GoTo>>

Advanced

  • To learn about creating and using template pages see HelpOnTemplates.
  • To learn more how to set variables see HelpOnVariables