Hi,
today I installed the SemanticRating extension. It is very helpful for our task and easier to install than any Template. However, I immediately stumbled across a problem with the image links for the stars. Our wiki can be reached from inside and outside the local network but the SemanticRating.php $imagepath
is composed as an absolute URL (which leads to unreachable images for internal accesses or external accesses). The simple fix for this problem was to remove the $GLOBALS['wgServer']
part of $imagepath
so the images ended up being relative URLs like any other image reference on the wiki.
So my question is why SemanticRating has absolute image paths in the first place? As far as I'm aware of, all other intra-wiki links or image-refs use relative URLs starting with $wgScriptPath
, too. I don't know if I'm missing a problem here, but if not I would suggest removing the $wgServer
part of the image URLs.
Thanks, Matthias