Tobias
Tobias

Reputation: 2561

Prevent Mediawiki software from printing link URLs

I have a MediaWiki instance with a lot of templates. Sometimes I create pages which use templates and create many external links, giving me a clickable checklist.

However, when I print such a list, the MediaWiki software prints the URL of every single external link, cluttering the hardcopy with useless text: I'm not interested in "link-text (https://my.stunning.site/the/very/lengthy/url)" but only in "link-text".

Is there some magic word or even configuration setting to help me to get a "clean" hardcopy? Thank you!

(MediaWiki 1.25.2, pretty basic)

Upvotes: 1

Views: 225

Answers (1)

Tgr
Tgr

Reputation: 28160

It's set up in the print stylesheet. You can add something like

.mediawiki .mw-body a.external.text:after,
.mediawiki .mw-body a.external.autonumber:after {
    content: none;
}

in your own stylesheet to override it.

Upvotes: 1

Related Questions