Creating New Pages

authors (basic) 大部份的WikiWikiWeb系統都能輕易地建立新的頁面,當然PmWiki也是其中之一。首先你必須瞭解每個頁面都要有名稱-例如本頁面名稱為「建立新頁面」。將頁面名稱前後加上兩個中括號(例如[[Creating new pages]]),若頁面已存在則會建立至此頁面的連結,否則頁面名稱後會出現?,表示頁面等待建立。按下有?的連結會帶出編輯畫面,等著你輸入新頁面的內容。

所以呢,在文章中加入連結至頁面名稱(例如[[新頁]]),即可建立新的頁面,簡單吧!(Main.HomePage以及Main.WikiSandbox是用這個方法建立新頁面的好地方。)接下來就輸入新頁面的內容,完畢後記得儲存。

建立連結的方式除了使用雙中括號外,PmWiki也認得WikiWordsWikiWords會自動被辨視為頁面名稱,不需要在前後加上雙中括號。

還有一個方法可以建立新頁面。在瀏覽器的URL欄位,將目前頁面名稱取代為新頁面名稱,然後按下Enter鍵。如此一來瀏覽器會被帶到新頁面,其內容顯示"Describe <新頁面> here"。按下編輯連結並輸入內容即可。(注意!這個方法不適合中文名稱的頁面)

頁面名稱最好能夠讓使用者對頁面內容有直覺的概念。

PmWiki支援頁面群組功能,將相關的頁面集中起來管理。詳細情形請參考wiki groups

To create a new page, you need to edit an existing page, and on it add a link to the page you want to create.

To link to your new page, you must choose a name for it. The best names describe the page's contents well, so that everyone can remember and type the name easily.

There are two main ways to create a link:

  1. Double brackets: Typing [[my new page]] will create a link to my new page. There's a lot you can do with double bracket links.
  2. WikiWords: On sites that have WikiWords enabled as link-creating syntax, typing MyNewPage will create a link to MyNewPage. WikiWords are CapitalizedWordsSmashedTogether, and, on such sites, don't need double brackets to become links. Note that some sites have turned off WikiWord links -- including this one!

You can see that the links to my new page all have question marks after them. That's because my new page hasn't been written yet. Clicking the link will take you to an edit form where you can write and save the new page.


Another way to create a page: in your browser's address bar (where the page URL is), replace the name of the current page with the name of the page you wish to create, and hit Enter or do whatever you would normally do to go to a new location. PmWiki will then dutifully tell you that the page you entered doesn't exist, but you can click on the "Edit" link in order to create, edit, and save the new page.

The bad thing about this method is that there are no links to your new page, so you're the only person who knows it is there. It will be an orphan, unread, unlinked, unloved. That's why adding a link to an existing page or to the SideBar is a better way to create a page.


You can also organize related pages into groups, and link between pages in different groups. Learn more.

<< Basic editing | Documentation Index | Links >>