UserPreferences

HelpOnLinking


URLs and Inline Images

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

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:

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.

Example

 * http://moin.sourceforge.net/
 * [http://moin.sourceforge.net/]
 * [http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage]
 * 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
 * [mailto:jh@web.de JH]
 * [#anchorname Anchor Link]

Display

Question

[AsbjornUlsberg] It's probably not very civil to post questions on these pages, but I need an answer, and the comment can be removed afterwards. I just want to know how one can link to an anchor on another wiki page than the one your linking from. If I want to link to the anchor "#head-93f1f0670d6652221aaead0238a966dc9c9a76d9" on CarrotVsOrange, how do I do it without an [WWW]external link?

[KenMacLeod] 1) couldn't figure it out :\ , 2) you'd probably want a named anchor using the [[Anchor()]] macro, so the anchor doesn't change when the headers change, 3) using inter-page anchors is probably not a good idea over the long term as it could make refactoring more difficult, and lastly 4) how about refactoring the section to it's own page and linking to that? If a section deserves a link, it's probably important enough to have its own page.

[AsbjornUlsberg] What I hoped, was that I could do something like [CarrotVsOrange#Search], so that the anchor would work independantly of which level of heading it was in. I could of course extract the section and put it on another page (and that's what I've done with the "Search"), but that's not always necessary, so I hoped it was possible to do interpage anchor-linking. Well, well.

clarkDOTupdikeATjhuaplDOTedu
FWIW, I've been using moinmoin for 1 day and already wanted to do the same thing. I have a booklist page and wanted to create an anchor for each book and then reference the books on other pages. I don't want a page per book.

(-sp-) I found the mechanism elsewhere and tried it. Do this: [wiki:Self:PageName#anchorname label text]