MediaWiki/Drucken/URL: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
== MediaWiki prints the URL of every single external link == | |||
It's set up in the print stylesheet. You can add something like this in your stylesheet to override it: | |||
<syntaxhighlight lang="css" line> | |||
.mediawiki .mw-body a.external.text:after, | |||
.mediawiki .mw-body a.external.autonumber:after { | |||
content: none; | |||
} | |||
</syntaxhighlight> | |||
}</ | |||
* I just couldn't make it work yet ... With <code>monobook</code> being chosen, the stylesheet should be <code>.../wiki/User:Myname/monobook.css</code>, right? | * I just couldn't make it work yet ... With <code>monobook</code> being chosen, the stylesheet should be <code>.../wiki/User:Myname/monobook.css</code>, right? | ||
* If you only want to change it for your own user (and per-user stylesheets are enabled) then yes. | * If you only want to change it for your own user (and per-user stylesheets are enabled) then yes. | ||
* Ok; seems the <code>$wgAllowUserCss</code> setting is missing in the LocalSettings.php. I'll need to wait for my colleague to return for this because I don't have administration access to the server... | * Ok; seems the <code>$wgAllowUserCss</code> setting is missing in the LocalSettings.php. I'll need to wait for my colleague to return for this because I don't have administration access to the server... |
Version vom 26. Juli 2024, 10:09 Uhr
MediaWiki prints the URL of every single external link
It's set up in the print stylesheet. You can add something like this in your stylesheet to override it:
.mediawiki .mw-body a.external.text:after,
.mediawiki .mw-body a.external.autonumber:after {
content: none;
}
- I just couldn't make it work yet ... With
monobook
being chosen, the stylesheet should be.../wiki/User:Myname/monobook.css
, right? - If you only want to change it for your own user (and per-user stylesheets are enabled) then yes.
- Ok; seems the
$wgAllowUserCss
setting is missing in the LocalSettings.php. I'll need to wait for my colleague to return for this because I don't have administration access to the server...