Talk:Embedded and Automotive/Archived/PV Drivers/Roadmap: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) No edit summary |
Lars.kurth (talk | contribs) m (Lars.kurth moved page Talk:Embedded and Automotive/PV Drivers/Roadmap to Talk:Embedded and Automotive/Archived/PV Drivers/Roadmap) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
[[User:GarveyPatrickD|GarveyPatrickD]] 23:22, 28 October 2014 (UTC) |
[[User:GarveyPatrickD|GarveyPatrickD]] 23:22, 28 October 2014 (UTC) |
||
* [[User:Lars.kurth|Lars.kurth]] 11:51, 29 October 2014 (UTC): Hi, this is a CSS issue with [[MediaWiki:Common.css]] under ''/** 12. Category Links **/'', which I fixed. See [[MediaWiki_talk:Common.css]]. You may have to clear the browser cache to see the effect. |
|||
* [[User:Lars.kurth|Lars.kurth]] 11:51, 29 October 2014 (UTC): Hi, this may be a template or CSS issue. All pages that are in a Category have the Category link in them which points to a list of all categories. Probably the Category link should be visually different, but as far as I recall there is no easy way for an CSS style sheet to achieve this, without making some code changes to Mediawiki. Wikipedia and all other Mediawiki instances do the same, but it just renders differently, aka <pre>Categories: Cat1 Cat2 ...</pre> There seems to be some clever logic in Mediawiki, which uses "Category" as label when a page is in one category only and uses "Categories" when the page is in several categories, which I guess is where the confusion comes from. I was originally looking at some CSS wizardry to make the first button look different, but am not enough of a CSS expert to make this happen. The relevant code is in [[MediaWiki:Common.css]] under ''/** 12. Category Links **/''. The idea is that ''.catlinks a:first-of-type'' should render the first button differently, but it does not appear to work. Playing a little bit with this: what seems to happen is that first-of-type is applied to all elements in this structure. The picture below shows the corresponding html for the CSS. Maybe someone with more CSS skills can fix it or make a suggestion |
|||
** Holding shift while selecting the refresh icon or doing ctrl-shift-R regenerates the "Category" category link while redisplaying the page. It blanks the button, but retains it and refills it with the word "Category". I using Firefox 32.0.3 (in case that makes any difference). [[User:GarveyPatrickD|GarveyPatrickD]] 13:36, 29 October 2014 (UTC) |
|||
:[[File:Sample-HTML-Catlinks.png]] |
|||
** [[User:Lars.kurth|Lars.kurth]] 11:49, 30 October 2014 (UTC): I just re-installed Firefox 33.0.2. I also tested with Safari and Explorer and all seems to work as expected. The Category button is rendered in Green, the others in blue. If you select the gradient changes. If it helps, I can make the links bold for example when selecting. |
|||
* Let us try this again; I think we're talking past each other. Why are there two categories displayed for this article? One of them, Embedded and Automotive PV Drivers, is there because it is specifically included in the article. I glean from what you are saying the other, Category, is generated by some CSS. The result, associating the category "Category", with this article makes no sense to me. Why should the CSS add it to this article? This article does not describe a category. [[User:GarveyPatrickD|GarveyPatrickD]] 13:35, 30 October 2014 (UTC) |
Latest revision as of 16:30, 14 May 2019
Categories
This article is in the "Category" category. I don't understand how that category applies to this article.
GarveyPatrickD 23:22, 28 October 2014 (UTC)
- Lars.kurth 11:51, 29 October 2014 (UTC): Hi, this is a CSS issue with MediaWiki:Common.css under /** 12. Category Links **/, which I fixed. See MediaWiki_talk:Common.css. You may have to clear the browser cache to see the effect.
- Holding shift while selecting the refresh icon or doing ctrl-shift-R regenerates the "Category" category link while redisplaying the page. It blanks the button, but retains it and refills it with the word "Category". I using Firefox 32.0.3 (in case that makes any difference). GarveyPatrickD 13:36, 29 October 2014 (UTC)
- Lars.kurth 11:49, 30 October 2014 (UTC): I just re-installed Firefox 33.0.2. I also tested with Safari and Explorer and all seems to work as expected. The Category button is rendered in Green, the others in blue. If you select the gradient changes. If it helps, I can make the links bold for example when selecting.
- Let us try this again; I think we're talking past each other. Why are there two categories displayed for this article? One of them, Embedded and Automotive PV Drivers, is there because it is specifically included in the article. I glean from what you are saying the other, Category, is generated by some CSS. The result, associating the category "Category", with this article makes no sense to me. Why should the CSS add it to this article? This article does not describe a category. GarveyPatrickD 13:35, 30 October 2014 (UTC)