Adding An Image to a Tab Breaks the Tab
I'm trying to figure out how an image is added into the tab along side the header. Such as the following example: http://pinataisland.info/viva/Dragonache
It seems like it works for you now.
Sorry, I seem to have explained myself poorly. The example URL was someone who successfully was able to embed an image into the tabs. I'm trying to replicate the same effect on my own wiki. I'm just not sure how it was done.
Anyone have any ideas how I could successfully embed an image in each tab? I've looked all over and haven't a clue where to begin. Again, I saw it done here:
http://pinataisland.info/viva/Dragonache
And haven't been able to duplicate this.
It appears that Dragonache has modified their codebase to support this.
However, adding an image to a tab is completely do-able if you are running MW 1.14 or newer.
The problem stems from the fact that when you do an [[Image:<filename>]], MediaWiki wraps the resulting image tag with an anchor href tag. This anchor href tag competes with the header tab (which uses an anchor name tag).
To get around this, you need to tell MediaWiki not to wrap the image tag with an anchor tag; this is achieved by changing the image tag to [[Image:<filename>|link=]] tag. See http://www.mediawiki.org/wiki/Help:Images#Link_to_another_page
Just leave the link blank.
I'm glad a fix is here, but really this is a poor solution as it involves user retraining either on a case by case basis (every image link types) or user retraining to get them to all use a different template.
Could header tabs be made to be compatible with anchors? I'd still like to be able to use my header and image anchors.