Differences between revisions 2 and 3
Revision 2 as of 2006-08-17 15:48:42
Size: 3584
Comment: Add missing docs on how to define an anchor in MoinMoin
Revision 3 as of 2009-09-20 23:00:52
Size: 3578
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
There are several way to insert external references[[FootNote(The opposite of external references are the internal, automatic WikiName links.)]] into the text: There are several way to insert external references<<FootNote(The opposite of external references are the internal, automatic WikiName links.)>> into the text:
Line 28: Line 28:
[[FootNote]] <<FootNote>>
Line 52: Line 52:
 * [http://moin.sourceforge.net/]
 * [http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage]
 * [[http://moin.sourceforge.net/]]
 * [[http://moin.sourceforge.net/|MoinMoin Sourceforge Homepage]]
Line 55: Line 55:
 * http://moin.sourceforge.net/moinmoin.gif
 * [http://moin.sourceforge.net/moinmoin.gif]
 * [http://moin.sourceforge.net/moinmoin.gif moinmoin.gif]
 * {{http://moin.sourceforge.net/moinmoin.gif}}
 * [[http://moin.sourceforge.net/moinmoin.gif]]
 * [[http://moin.sourceforge.net/moinmoin.gif|moinmoin.gif]]
Line 59: Line 59:
  * Self:InterWiki   * InterWiki
Line 61: Line 61:
  * wiki:MeatBall/InterWiki
  * [wiki:MeatBall/InterWiki]
  * [wiki:MeatBall/InterWiki
InterWiki page on MeatBall]
  * MeatBall:InterWiki
  * MeatBall:
InterWiki
  * [[MeatBall:InterWiki|InterWiki page on MeatBall]]
Line 65: Line 65:
 * [[Anchor(anchorname)]] Define an Anchor
 * [#anchorname Anchor Link]
 * <<Anchor(anchorname)>> Define an Anchor
 * [[#anchorname|Anchor Link]]

Arbitrary Page Names

If you enclose a sequence of characters in square brackets and double quotes ["like this"], that makes it a page name. That can be used for specific uses of MoinMoin (like organizing a list of items, e.g. your CD collection, by their "natural" name), or if you want to create a wiki with a non-western character encoding.

/!\ This is a configurable feature enabled by allow_extended_names, so it might not work!

URLs and Inline Images

There are several way to insert external references1 into the text:

  • direct URL insertion; if the URL ends in an image extension (".gif", ".jpg" or ".png"), the URL is converted to an image tag.

  • bracketed URLs.
  • InterWiki links.

  • email addresses.

If you enter URLs into normal text, there is the problem of detecting what belongs to the URL and what not. There are four ways to force the ending of an URL:

  • put a space after the URL.
  • use the Wiki:SixSingleQuotes escaping.

  • put the URL into double quotes.
  • use the bracketed URL syntax.

The supported URL schemes are: http, https, ftp, nntp, news, mailto, telnet, and file. The administrator of your wiki can extend the supported schemes by using the config.url_schemas variable (see HelpOnConfiguration).

In addition to the standard schemes, there are MoinMoin-specific ones: wiki, attachment, inline, and drawing. "wiki" indicates an InterWiki link, so MoinMoin:Frontpage and wiki:MoinMoin:Frontpage are equivalent; you will normally prefer the shorter form, the "wiki" scheme becomes important when you use bracketed links, since there you always need a scheme. The other three schemes are related to file attachments and are explained on HelpOnActions/AttachFile.

When the configuration option bang_meta is set to true, you can surpress WikiName linking by putting an exclamation mark (bang) before the WikiName, i.e. !WikiName. This is deactivated by default.

For more information on the possible markup, see HelpOnEditing. For details on how to link to subpages, see HelpOnEditing/SubPages.

  1. The opposite of external references are the internal, automatic WikiName links. (1)

Example

 * http://moin.sourceforge.net/
 * [http://moin.sourceforge.net/]
 * [http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage]
 * [^http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage - in new window]
 * http://moin.sourceforge.net/moinmoin.gif
 * [http://moin.sourceforge.net/moinmoin.gif]
 * [http://moin.sourceforge.net/moinmoin.gif moinmoin.gif]
 * InterWiki
  * Self:InterWiki
  * MeatBall:InterWiki
  * wiki:MeatBall/InterWiki
  * [wiki:MeatBall/InterWiki]
  * [wiki:MeatBall/InterWiki InterWiki page on MeatBall]
 * jh@web.de
 * [[Anchor(anchorname)]] Define an Anchor
 * [#anchorname Link to an anchor]

Display

HelpOnLinking (last edited 2009-09-20 23:00:52 by localhost)