summaryrefslogtreecommitdiff
path: root/doc/bugs/search_plugin_uses_wrong_css_path.mdwn
blob: fc3f8a6e4bf8f20428695da14c52015409c8e4f2 (plain)

The search result page uses a wrong path for the css files.

This is, because the search plugin provides $config{cgiurl} as basepath to the misc template. And so the path to the css files ends up to be "$config{cgiurl}/local.css". But this is wrong if $config{cgiurl} is not the same as $config{url}.

Maybe misctemplate() and misc.tmpl should use an additional variable which points always to the base of the wiki.

e.g. use "wikibase" for css and favicon and "baseurl" for the <base> tag.