This page has moved


This page can now be found on the Wikka Documentation Server.
Thanks for updating your bookmarks!

An archive of old revisions of this page is still available for reference.

 


CategoryMigratedDocs
Comments
Comment by ChristianBarthelemy
2004-11-23 15:17:31
It maybe obvious but how do you link to a document that was previously uploaded to yoursite/wikka/uploads/WikaPage/mydocument.xxx. I would like to use a relative link and so avoid using [[http://yoursite/wikka/uploads/WikaPage/mydocument.xxx]].
Also, is there a way to link to a sharefolder document at files://mysharefolder/mydocument.xxx ?
Comment by JavaWoman
2004-11-23 20:04:45
@Christian,
Look at the examples for image links - the src attribute is a relative URL; you could use an analogous relative link to an uploaded file (the configuration defines a path where files are uploaded).
Unless your system is completely self-contained on a single machine and limited to users using that one machine, a file:// protocol file would not be possible (or rather, it would be possioble but not reachable by anyone not using that machine. (Possible exception is if you can set up a symbolic link to the actual location from within the webserver's docroot; possible on *nix, maybe on Win2K/XP but not nearly as easily. But then your link would be a normal http (relative) link, not a fiel protocol link.)
Comment by 69.224.71.97
2005-04-08 06:06:48
Is there any way of doing in page links? Links that link to a different spot on the page?
Comment by DarTar
2005-04-08 06:46:05
Adding anchors in Wikka is possible through embedded HTML (using double double-quotes):

""<a name="anchor" id="anchor">Here's some text</a>""

(replace "anchor" with something meaningful). Note that XHTML deprecates named anchors and requires id's instead. For backward compatibility, though, it is recommended to create anchors with both attributes (name and id) with the same value.

Internal Wikka links do not support anchors yet, so you'll need to use the complete URL, for example: [[http://wikka.jsnx.com/AddingLinks#anchor This is a link]]
Comment by DarTar
2005-04-08 06:50:44
You might also be interested in this user-contributed anchor action: http://wikka.jsnx.com/AnchorAction
Comment by 220-253-88-6.QLD.netspace.net.au
2005-09-19 01:28:40
Is it possible to disable CamelCase links in Wikka? I'd like to use the explicit links for page creation, as my content will make use of CamelCase words in a number of places where I do not want to create orphaned links.
Comment by DarTar
2005-09-19 12:59:42
Disabling automatic parsing of CamelCase links from the config file is currently not supported (it has been suggested as a feature for the next release). With the current version the only way to disable CamelCase links is to manually edit the formatter (formatters/wakka.php) by commenting out the following lines.

(332-336):

// wiki links!
else if (preg_match("/^[A-ZÄÖÜ]+[a-zßäöü]+[A-Z0-9ÄÖÜ][A-Za-z0-9ÄÖÜßäöü]*$/s", $thing))
{
return $wakka->Link($thing);
}

(375)

"\b([A-ZÄÖÜ]+[a-zßäöü]+[A-Z0-9ÄÖÜ][A-Za-z0-9ÄÖÜßäöü]*)\b|". # CamelWords
Comment by p549F61F9.dip.t-dialin.net
2005-11-04 12:27:10
I found your engine over a feature comparision at http://www.wikiservice.at/gruender/wiki.cgi?WikiEngineVergleich
where it said you had Auto Word Linking, that means Words that are Titles of existing internal pages are automatically linked, wether CamelCase or not.
Is that true ?
I have difficulties finding this feature in the documentation.
Comment by DarTar
2005-11-07 17:34:55
If this is the information given on that site (which I personally don't know) it is not correct: please fix it.
Comment by NilsLindenberg
2005-11-08 09:19:48
Sorry, that was my mistake. It works only for CamelCase. The page in the gründerwiki is now corrected. Thanks for pointing it out!
Comment by IanRussell
2006-03-23 17:08:47
When Wikka is an intranet it's useful to hyperlink to files on the network. Adding |file to this line in wikka.php does the trick:
elseif (preg_match("/^(http|https|ftp|file):\/\/([^\\s\"<>]+)$/", $tag))
Use [[file://C:\myfile.ext]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki