Creating a new page

You create a new page by visiting the page. If the page does not exists, MoinMoin will suggest to create it. There are several ways to create a new page:

By Adding a link on another page

  1. Edit another page
  2. Add a link to the new page, either as a WikiName or as ["Name With Spaces"]

  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 visiting the page

  1. Enter the address of the new page, e.g http://example.com/wiki/MyNewPage in the browser location box and press Enter

  2. Click one of the template names
  3. Edit your new page and save it

    (!) Might not work on all browsers if the page name contains non ASCII characters.

By using the NewPage macro

If the current page uses the NewPage macro:

  1. Enter the page name in the text box and click "新しいページを作成"

  2. Edit your page and save it

Example:

The NewPage macro make it easy to create new pages in one step, using certain template or automatically creating a sub page. For more help on NewPage macro, see HelpOnMacros.

By using the GoTo macro

If the current page uses the GoTo macro:

  1. Enter the page name in the text box and click "ページへ移動"

  2. Click "Create new page"
  3. Edit your page and save it

Example:

Creating and using template pages

To create a template, follow the above description and create a page with a name ending in "Template". This page will then be added to the list of template pages displayed when you try to show a non-existent page. For example, NonExistentHelpPage has a link to HelpTemplate that loads the content of HelpTemplate into the editor box, when you click on that link.

Variable substitution when saving a page

The following variables are substituted when a page is saved. Note that they will appear unreplaced in the preview!

Variable

Description

Example

@PAGE@

Name of the page (useful for template pages)

HelpOnPageCreation

@DATE@

Current date in the system's format

2004-08-30

@TIME@

Current date and time in the user's format

2004-08-30 06:38:05

@USERNAME@

Just the user's name (or his domain/IP)

TheAnarcat

@USER@

Signature "-- loginname"

-- TheAnarcat

@SIG@

Dated Signature "-- loginname date time"

-- TheAnarcat 2004-08-30 06:38:05

@MAILTO@

A fancy mailto: link with the user's data

None - on public sites, better use the MailTo macro)

You can use HomePageName/MyDict to expand those variables, just put a WikiDict there with your variables and values.

Note that saving template or form definition pages and using preview does not expand variables. Other than that, variable expansion is very global and happens anywhere on the page, including code displays, comments, processing instructions and other "special" areas of a page you might think are excluded.

Editor backup

If you have a homepage (a page with the same name as your user name), each time you save or preview a page, a backup of the text is saved as UserName/MoinEditorBackup. If your browser crashed when editing a page and you did a preview, you can get the text from the backup. Use preview often!

HelpOnPageCreation (最終更新日時 2006-01-11 11:13:41)