Wikka Wakka Wiki
This article describes how to get a
Wikka Wakka Wiki
to play nice with the IGB.
Installing the Wiki
To get started, install the wiki on your webserver as a regular wiki, for regular browsers. The
Wikka Wakka Wiki website
has further instructions on that.
IGB Style
The main problem with getting the wiki to work is with style. If you avoid percentage signs (%) in the css, that makes the stylesheet at least compatible with the IGB. You should be able to view the wiki with the IGB if you remove all lines containing '%' from the wikka.css file.
It will take quite a bit of extra styling to make the page actually look good in the IGB. And then some more to make it look similar in a regular browser and the IGB. You're welcome to use
my stylesheets
as a starting point, but change the colors to get a different look and feel if you do, to avoid confusion. You need the
eve.css
and
http://eve.grismar.net/css/igb.css
files.
By changing the "stylesheet" setting in the wiki configuration file to:
"stylesheet" => ($ingame?"igb.css":"eve.css")
You can have the proper stylesheet be selected, based on the $ingame variable (see below).
IGB integration
To get your wiki to cooperate more closely with the IGB, you can download a
small archive with files I've added and modified
. Just replace the originals if you're using version 1.1.6.2 of the Wikka Wakka Wiki, or study the differences otherwise.
With the files installed, you can use the $ingame variable in the pages to detect whether the ingame browser is displaying a page. The Wakka_eve class will render showinfo links as well as regular http, ftp, etc.
The autotoc action will allow you to include brief table of contents at the start of your articles, automatically generated based on your headings.
Other functionality on this site
Some other functionality, like the skilltrees, relies on my database and I haven't included the code for those in the above files.
Current EVE version: 2.14.29316 (Revelations 1.3)