External links to GitHub
Moderator: Forum Moderators
External links to GitHub
At the moment, with some exceptions (such as http://sourceforge.net/projects/wesnoth/), all external links on the wiki have a CSS effect applied, such that they contain extra content. I would like to make the following external link prefix an exception too:
https://github.com/wesnoth/wesnoth/
In order to achieve this, this CSS file needs to be edited by someone with the appropriate permissions. Where the code is currently:
I believe that the code must be be edited to look like this:
I am not an expert at CSS, so apologies if I have made a mistake. Could someone please do this for me?
https://github.com/wesnoth/wesnoth/
In order to achieve this, this CSS file needs to be edited by someone with the appropriate permissions. Where the code is currently:
Code: Select all
#content a.external[href^="https://sourceforge.net/projects/wesnoth/"]:after{display:none !important}
Code: Select all
#content a.external[href^="https://sourceforge.net/projects/wesnoth/"]:after,#content a.external[href^="https://github.com/wesnoth/wesnoth/"]:before,#content a.external[href^="https://github.com/wesnoth/wesnoth/"]:after{display:none !important}
- Pentarctagon
- Project Manager
- Posts: 5581
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: External links to GitHub
You could also try submitting a PR to make the change here.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: External links to GitHub
Ah, thanks. That was my first time doing a PR. It can be found here: https://github.com/wesnoth/wesmere/pull/15
My reasons are that I would like for citations to point to the original GitHub files, rather than to be plain text. This is ugly without the requested modification.
My reasons are that I would like for citations to point to the original GitHub files, rather than to be plain text. This is ugly without the requested modification.