Remove the full url path from links to the wiki and display the wiki name only instead. Add a note on how to manually access wiki pages. The links itself are still pointing to the wiki.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14847 a1c6a512-1295-4272-9138-f99709370657
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 6db6e53..5b6e110 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -254,7 +254,11 @@
% set link to the wiki.
% Usage: \wikilink{WebHome}
% with "WebHome" being the wiki page name
-\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/twiki/bin/view/Main/#1}}
+\newcommand{\wikibaseurl}{http://www.rockbox.org/wiki/}
+\ifpdfoutput{\newcommand{\wikiicon}{\Pointinghand}}
+ {\newcommand{\wikiicon}{}}
+\newcommand{\wikilink}[1]{\wikiicon{}\href{\wikibaseurl#1}{#1}}
+%\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/wiki/#1}}
% define environment "code" based on fancyvrb.
% use it to set code the user should type / see on his screen.