From: Joey Hess Date: Fri, 5 Jun 2009 20:18:19 +0000 (-0400) Subject: remove link to page outside the base wiki X-Git-Tag: 3.141~37 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/dd4e363215ace3ae1ced460ddc4d84b496110f2e?ds=sidebyside;hp=--cc remove link to page outside the base wiki I'm sorry, but you can't simply go around adding links to pages that are part of the basewiki, that point to pages outside the basewiki. Doing so causes the test suite to fail, since the basewiki is then not self-contained and has broken links. FYI, the ikiwiki/anchor page you added is not part of the basewiki because there's not a symlink to it in underlays/basewiki/ikiwiki in ikiwiki's source. And I can't condone cluttering up the basewiki with such a page, at least unless it gets significantly more useful somehow. --- dd4e363215ace3ae1ced460ddc4d84b496110f2e diff --git a/doc/ikiwiki/wikilink.mdwn b/doc/ikiwiki/wikilink.mdwn index 69247f3ed..f561d5850 100644 --- a/doc/ikiwiki/wikilink.mdwn +++ b/doc/ikiwiki/wikilink.mdwn @@ -20,7 +20,7 @@ It's also possible to write a WikiLink that uses something other than the page name as the link text. For example `\[[foo_bar|SandBox]]` links to the SandBox page, but the link will appear like this: [[foo_bar|SandBox]]. -To link to an [[ikiwiki/anchor]] inside a page, you can use something like +To link to an anchor inside a page, you can use something like `\[[WikiLink#foo]]` . ## Directives and WikiLinks