个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的8个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/WikiGuide/PageCreation}}
 
{{From|https://help.ubuntu.com/community/WikiGuide/PageCreation}}
 
{{Languages|UbuntuHelp:WikiGuide/PageCreation}}
 
{{Languages|UbuntuHelp:WikiGuide/PageCreation}}
This section deals with how to create pages on the Ubuntu wiki. There are two simple steps to creating new guides:
+
<<Include([[UbuntuHelp:WikiGuide|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:
 +
<ol><li>Choose a descriptive name
 +
</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>Do not use spaces or dashes in the name.</li></ol>
  
* '''Search'''. First, before adding a guide to the wiki, search for existing guides on the same subject. If an existing document is of poor standard, out of date, or missing something, improve it!! It's better to integrate information on the same subject on the same page than create separate guides which deal with the same subject.
+
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 <code><nowiki>#title Page Name</nowiki></code> as the '''first''' line in a document.
* '''Create the page'''. If there are no guides already on the subject, create a page.
+
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''.
** Think of 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:
+
=== Create the Page ===
a. Choose a descriptive name
+
There are several ways to create a new page but all of them require that you first '''Log-in'''
a. Avoid using the word "Howto" in the page title (everything here is a howto!)
+
==== By visiting the page ====
a. Choose a name with some capital letters (such as WikiName), it will ensure that the page has a similar style of name to the existing pages. Do not use spaces or dashes in the name.
+
<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.''
a. You can manually specify a page name by inserting <code><nowiki>#title Page Name</nowiki></code> as the very first line in a document. This way, the page title can be made more descriptive and easier to read. For example, compare the title ''Resizing Your Photos'' with ''Photos/Resizing''''''Photos''.
+
</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>
a. If you do specify a page name manually, 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''.
+
** Then, to create the page, simply type the address for the new page into the address bar of your browser and then select ''DocumentationTemplate'' (this will give you a default template you can use for your page). NOTE: You need to login first before this will work.
+
  
Deleting and renaming pages - users do not have permission on this wiki to delete or rename pages. This is because doing so can sometimes cause accidental problems. If you need to delete or rename a page, contact the WikiTeam and they will arrange it.
+
==== Add a link on another page ====
 +
<ol><li>Edit another page
 +
</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>Click one of the template names
 +
</li><li>Edit your new page and save it</li></ol>
  
 +
For more information on linking to other pages, see HelpOnLinking.
 +
==== By using the NewPage macro ====
 +
<ol><li>Enter the page name in the text box and click "<<GetText(Create New Page)>>"
 +
</li><li>Edit your page and save it</li></ol>
 +
 +
<<NewPage(HelpTemplate)>>
 +
==== By using the GoTo macro ====
 +
<ol><li>Enter the page name in the text box and click "<<GetText(Go To Page)>>"
 +
</li><li>Click "Create new page"
 +
</li><li>Edit your page and save it</li></ol>
 +
 +
<<GoTo>>
 +
== Advanced ==
 +
* To learn about creating and using template pages see HelpOnTemplates.
 +
* To learn more how to set variables see HelpOnVariables
 
----
 
----
Go back to 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