Example page: http://en.wikipedia.org/Opera_browser
Note how, at least when using Wikipedia's default CSS style, *all* links
are shown with the "external link" style.
To clarify for people not used to Wikipedia, here's what I see on Opera 8
(correct display):
http://my.opera.com/Jugalator/homes/files/wikipedia-o85.png
And this is my Opera 9 display:
http://my.opera.com/Jugalator/homes/files/wikipedia-o9p1.png
--
Jonas aka Jugalator on the Opera boards
Sorry, that should obviously have been
http://en.wikipedia.org/wiki/Opera_browser
Known issue. We now support some CSS3 selectors that are used to add the
'external' note. But we still have an issue with attribute selector
working on resolved values, not the value given in the code.
Test that shows the issue in Opera 8 and the Merlin preview:
<style type="text/css">
a:after {content: " (" attr(href) ")";}
</style>
<a href="foo.html">test</a>
Should render as:
test (foo.html)
But renders in Opera as:
test (http;//path-to/foo.html)
--
Get Opera 8 now! Speed, Security and Simplicity.
http://my.opera.com/Rijk/affiliate/
Rijk van Geijtenbeek
Opera Software ASA, Documentation & QA
Tweak: http://my.opera.com/Rijk/blog/
> On Thu, 20 Oct 2005 18:59:47 +0200, Jonas Nordlund wrote:
>
>> I seem to be experiencing a regression with Wikipedia links.
> Known issue.
I wrote a short bug report to Wikipedia, so they should be aware of the
problem within not long.
--
Yep -- it should be a signature here someday.
> On Thu, 20 Oct 2005 19:15:14 +0200, Rijk van Geijtenbeek
> <ri...@opera-dot-com.invalid> wrote:
>
>> On Thu, 20 Oct 2005 18:59:47 +0200, Jonas Nordlund wrote:
>>
>>> I seem to be experiencing a regression with Wikipedia links.
>
>> Known issue.
>
> I wrote a short bug report to Wikipedia, so they should be aware of the
> problem within not long.
It is really something we should fix ourselves. There are more MediaWiki
powered wiki's out there...
> It is really something we should fix ourselves. There are more MediaWiki
> powered wiki's out there...
Some guy on IRC gave me the impression that it was a former bug that
MediaWiki tried to hack? Of course, I might have understood it wrong, but
it would be nice to know for sure whether this is Opera 9's or MediaWiki's
fault?
> On Thu, 20 Oct 2005 21:01:54 +0200, Rijk van Geijtenbeek
> <ri...@opera-dot-com.invalid> wrote:
>
>> It is really something we should fix ourselves. There are more
>> MediaWiki powered wiki's out there...
>
> Some guy on IRC gave me the impression that it was a former bug that
> MediaWiki tried to hack? Of course, I might have understood it wrong,
> but it would be nice to know for sure whether this is Opera 9's or
> MediaWiki's fault?
It's Opera's fault.
This style adds the 'external' images:
#bodyContent a[href ^="http://"],
#bodyContent a[href ^="gopher://"] {
background: url(external.png) center right no-repeat;
padding-right: 13px;
}
This is intended to only match links with href attributes that start with
'http://', but in Opera is also matches relative (internal) links.
Is there any way to workaround this with user css?
I saw a solution on wikipedia, but could not solve for myself. Can
somebody tell me how to correct this problem? See this page for a possible
solution: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)
- External Link Icon Problem?
Karaj
Save this to a local user style sheet, for example
'wikipedia-workaround.css':
a[href] {
background: none !important;
padding-right: 0 !important;
}
Then add this to the file opera6.ini found in the profile folder (while
Opera is closed):
[wikipedia.org]
Author Display Mode|User CSS=1
User Prefs|Local CSS File=C:\path-to-saved-file\wikipedia-workaround.css
and add an entry 'wikipedia.org' to the section [Overrides].
This new Opera 9 option is described in more detail at:
http://my.opera.com/community/forums/topic.dml?id=109574
This solution worked for me. You need a wikipedia user page. Then:
1) Edit the page
http://en.wikipedia.org/wiki/User:[your-username]/monobook.css
2) Paste this:
/* nukes external link icon on internal links (useful for Opera 9tp) */
#bodyContent a[href^="http://en.wikipedia.org"] {
background: none !important;
padding-right: 0;
}
3) Save.
4) Reload http://en.wikipedia.org/
This works for me. But the problems are:
- you must always be logged in on wikipedia for this to work
- if you look at wikipedia in several languages, you must edit the
stylesheet for your user page in _every_ language (en, fr, de, etc...)
So a better solution is to make the change in your Opera settings, as
Rijk suggests.
* Thks http://en.wikipedia.org/wiki/User:Ilyanep and
http://en.wikipedia.org/wiki/User:IceKarma.