[dokuwiki] Re: invalid anchors

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 09 Feb 2006 15:32:58 +0000

Andreas Gohr wrote:

How the hell do other Wikis handle this? Can anyone do a quick survey?
In a quick an unrepresentative survey I struggled to find wiki pages that used TOCs or when I could find them in english I couldn't find them in languages with non-ascii characters.

Here's the only one I found.

MediaWiki seems to hex encode the bytes, prefixing each byte code with a "."
e.g.http://meta.wikimedia.org/wiki/%D0%9F%D0%BE%D0%BC%D0%BE%D1%89%D1%8C:%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0#.D0.9F.D0.B5.D1.80.D0.B5.D0.B4_.D1.82.D0.B5.D0.BC.2C_.D0.BA.D0.B0.D0.BA_.D0.BD.D0.B0.D1.87.D0.B0.D1.82.D1.8C


(that link is found in the TOC of the russian version of http://meta.wikimedia.org/wiki/Help:Installation)

I also tried looking at for TOCs at the source sites of zwiki, moinmoin, tikiwiki, phpwiki

.....

I visited OpenSource CMS and tried a couple more,

phpwiki - "if any header contains a link or non-word character, create toc will refuse to link to this header"
qwikiwiki, i couldn't discover how to make a toc
qwikWeb, seems to use some form of encoding - it could be an md5 hash (see http://qwik.jp/HowToQuickML.html)
wackowiki, uses heading numbers, eg. h4357-14, all fragment ids on the page (e.g. http://wackowiki.com/WackoDocumentation?v=aq5#h4357-2) will commence with the same prefix (e.g. h4357). I have no idea where that number comes from, different pages use different prefix numbers.


Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: