Peter Velan wrote:
> Hi,
>
> it would be nice to have the same icons following an internal
> media-link as the ones displayed behind external links:
>
> e.g.:
> * [http://localhost/Example.pdf doc.pdf] {pdf-icon-15x15.gif}
> * [[Media:Example.pdf|doc.pdf]] {**same as above**}
>
> How could I achieve this?
>
> TIA for any hint,
> Peter
At monobook/main.css you will find
> #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href
> $=".PDF"],
> #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href
> *=".PDF#"],
> #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href
> *=".PDF?"],
> .link-document {
> background: url("document.png") center right no-repeat;
> padding: 0 12px;
> }
remove the ".external" from them to apply to any link in the content.*
Use the same procedure for the other extensions.
*Instead of editing the css files you can copy the modified text to
MediaWiki:monobook.css
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l