Problem
![]() ![]() |
I have a problem with the script. When I for example browse an article about a soccer team the shirt colors doesn't show. I'll show you what I mean.
Can someone please try and help me? |
![]() ![]() |
If you give us the article's URL we could help you. Also, make sure you are using the latest version of Firefox (at time of writing: 3.0.12 or 3.5.1). |
![]() ![]() |
Simplepedia works pretty diligently to remove all hard-coded wikipedia color declarations, frequently through brute force. I could make undoing that an option, or target specific interesting and non-style related color settings. http://www.grantstavely.com/images/spy/spy.0722... The jersey hack is tricky, but fixable. There are no declarative id or class attributes to suggest that the 100px wide div contains anything special. If that first div was 'id=footballkit', this would be trivial. Instead I think simplepedia will have to walk through every img element on the page and after finding one with the src attribute that contains the word 'Kit_', give the parent of the parent of the parent element a 'footballkit' class attribute. I'll add it to the color-support issues list and think about it a bit more, I may be overcomplicating matters. |
![]() ![]() |
In the meantime, if you edit the installed script, search and replace this long string: span, div {border: none !important;background-color: inherit !important;color: #000 !important;font-size: inherit !important;line-height: inherit !important;} With this shorter bit:
Then kit colors looks as they should. Be careful not to break up the huge long single line that the string is in into multiple lines, or it will break the script. There may be other color related ramifications to doing this, I am running it through testing to find them. |
![]() ![]() |
Thank you very much. That did the trick:D |
![]() ![]() |
Hmm, I seem to have a similar problem with images not loading. There is now a beta version of Wikipedia. If you go here:
Anyway, screenshots for Wikipedia beta? |
![]() ![]() |
The beta looks nicer than monobook, but I'll add detection for it to simplepedia. |
![]() ![]() |
Basic detection that is, not full support - a lot is in flux, search is broken, etc. |




