Differences between revisions 1 and 2
Revision 1 as of 2005-03-22 05:42:42
Size: 2522
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 2 as of 2009-09-20 22:07:47
Size: 2522
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
You will then be presented with your new page, which you can edit in the normal way. After you ''first'' saved it, it will be automatically created. Pages normally[[FootNote(Deleting pages can be activated by the wiki administrator (which you'll normally do in intranet sites only).)]] cannot be deleted, so be sure to spell new WikiName''''''s correctly. You will then be presented with your new page, which you can edit in the normal way. After you ''first'' saved it, it will be automatically created. Pages normally<<FootNote(Deleting pages can be activated by the wiki administrator (which you'll normally do in intranet sites only).)>> cannot be deleted, so be sure to spell new WikiName''''''s correctly.
Line 11: Line 11:
To create a template, follow the above description and create a page with a name ending in "'''Template'''"[[FootNote(If the wiki administrator changed the default settings, rules for what names are template pages might be different.)]]. This page will then be added to the list of template pages displayed when you try to show a non-existant page. For example, NonExistantHelpPage has a link to HelpTemplate that loads the content of HelpTemplate into the editor box, when you click on that link. To create a template, follow the above description and create a page with a name ending in "'''Template'''"<<FootNote(If the wiki administrator changed the default settings, rules for what names are template pages might be different.)>>. This page will then be added to the list of template pages displayed when you try to show a non-existant page. For example, NonExistantHelpPage has a link to HelpTemplate that loads the content of HelpTemplate into the editor box, when you click on that link.
Line 29: Line 29:
If the user has a homepage[[FootNote(Having a homepage means you're logged in under a name that is also the name of an existing wiki page.)]] indicated by the [[Icon(moin-home.gif)]] icon, a backup of save/preview text is saved there as an attachment named `moin-editor-backup.txt`. So if you preview often, you will keep your changes, even if your browser crashes. If the user has a homepage<<FootNote(Having a homepage means you're logged in under a name that is also the name of an existing wiki page.)>> indicated by the <<Icon(moin-home.gif)>> icon, a backup of save/preview text is saved there as an attachment named `moin-editor-backup.txt`. So if you preview often, you will keep your changes, even if your browser crashes.

Creating a New Page

To create a page, add its WikiName to an existing page and save it. After that, you can click on it on the revised page, since it automatically becomes a hyperlink.

You will then be presented with your new page, which you can edit in the normal way. After you first saved it, it will be automatically created. Pages normally1 cannot be deleted, so be sure to spell new WikiNames correctly.

On details on how to create and link to subpages, see HelpOnEditing/SubPages.

Creating and Using Template Pages

To create a template, follow the above description and create a page with a name ending in "Template"2. This page will then be added to the list of template pages displayed when you try to show a non-existant page. For example, NonExistantHelpPage 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 finally saved. Note that they'll appear unreplaced in the preview!

@PAGE@

Name of the page (useful for template pages)

@DATE@

Current date in the system's format

@TIME@

Current date and time in the user's format

@USERNAME@

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

@USER@

Signature "-- loginname"

@SIG@

Dated Signature "-- loginname date time"

@MAILTO@

A fancy mailto: link with the user's data

Note that saving template or form definition pages 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 the user has a homepage3 indicated by the icon, a backup of save/preview text is saved there as an attachment named moin-editor-backup.txt. So if you preview often, you will keep your changes, even if your browser crashes.

  1. Deleting pages can be activated by the wiki administrator (which you'll normally do in intranet sites only). (1)

  2. If the wiki administrator changed the default settings, rules for what names are template pages might be different. (2)

  3. Having a homepage means you're logged in under a name that is also the name of an existing wiki page. (3)

HelpOnPageCreation (last edited 2009-09-20 22:07:47 by localhost)