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.
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 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.
- 1 The opposite of external references are the internal, automatic WikiName links.
* 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] * firstname.lastname@example.org * [mailto:email@example.com JH] * [#anchorname Anchor Link]
[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 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.
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]