Open ddante1 opened 11 years ago
This is not a bug in the strapping-mediawiki skin, it's how mediawiki works: some html tags are restricted for security reasons (see the relevant FAQ entry). In this case, an external link is meant to be inserted with the wikitext markup [http://example.com Link Title]
. If you want to style it differently, you can add a <span>
tag around it to host the class
attribute.
That said, I'd suggest this issue to be closed as invalid.
The problem with wrapping a button with a span is that there's an area that doesn't activate. I should probably look into adding a tiny bit of JavaScript (jQuery really) that passes the clink to any anchors inside the button so it works as expected.
I was going to do this for oVirt.org, where we are using the span technique) but it slipped my mind, as it was before we had a bugtracker set up.
I'll leave this bug open and look back into this at the beginning of next week.
I try to use this code in new article wiki:
But firefox is not correct to interpret:
Is this a bug or I'm doing something wrong?