am 08.08.2009 14:34 schrieb Platonides:
Peter Velan wrote:
*Instead
of editing the css files you can copy the modified text to
MediaWiki:monobook.css
... instead, as this will survive coming MediaWiki upgrades.
Unfortunately, if I put this into MediaWiki:monobook.css then the
iconic image is expected to be located in wiki's root :-(
For now, I symlinked the required icons into wiki's root, but this
will possibly be killed by a future MediaWiki upgrade, too.
Peter
change url("document.png") to a full url, ie.
url("http://www.example.com/w/skins/monobook/document.png") or
url("/w/skins/monobook/document.png")
Thank you very much for your very valuable hints; above method works
as expected!
But now I detected two other problems:
--- Still differences between internal/external ---
I changed the iconic images for pdf, audio, video, (and added some
more for .odp, odt, .zip, etc.), but the new CSS-setting in
"MediaWiki:Common.css" is used for styling of internal links only.
external links are still styled with data found in main.css.
Only after completely commenting out "a.external ..."-section in
/skin/modern/main.css the internal and external links are styled
identically.
--- Works not in monobook ---
My own prefered skin is "modern" (but the majority of our users goes
with monobook standard). I was not able to achieve my goals in
monobook :-( Whatever I tried, not one link is shown with epected style.
I took a deeper look to the brwoser output with Firebug and I see that
in "modern" the content of MediaWiki:Common.css is read, but in
monobook it looks like there's no MediaWiki:Common.css and even after
I copied the news stuff into /skins/monobook/main.css I don't see the
expected result.
What I'm doing wrong?
Peter