[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Saibo saibotr...@arcor.de changed: What|Removed |Added CC||saibotr...@arcor.de --- Comment #25 from Saibo saibotr...@arcor.de 2012-01-18 19:29:18 UTC --- Project or user css: How can we get it like it was before (checkered background on the file page permanently)? Would it also be possible to invert the hover action? Ie: white/page background on hover? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #26 from Erwin Dokter er...@darcoury.nl 2012-01-18 19:45:26 UTC --- Permanent checkered background: #file img { /* @embed */ background: white url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; } Reverse hover: #file img { /* @embed */ background: white url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; } #file img:hover { background: white; } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Ashar Voultoiz has...@free.fr changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #24 from Ashar Voultoiz has...@free.fr 2011-09-05 06:29:13 UTC --- Patch resend with r96270. Since it is kind of a new feature, it will be in 1.19. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #23 from MZMcBride b...@mzmcbride.com 2011-09-03 03:48:15 UTC --- (In reply to comment #21) (In reply to comment #20) /* * Add a checkered background image on hover for file description pages. */ .filehistory a img, #file img:hover { /* @embed */ background: white url(images/Checker-16x16.png) repeat; } This basically means the previous patch had one 'hover' too many. Fine with me. Anyone against it? Otherwise I'll commit that in a few days. Bump. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Krinkle krinklem...@gmail.com changed: What|Removed |Added Keywords|easy| -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #22 from Krinkle krinklem...@gmail.com 2011-07-31 05:59:45 UTC --- Looks good to me. People who only need to know if an image is transparent can either scroll down or hover the image, and for more precision the hover on the main image on the description page can be used. It will not show transparency on articles, which I think is a good thing. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #21 from DieBuche diebu...@gmail.com 2011-07-27 12:05:05 UTC --- (In reply to comment #20) /* * Add a checkered background image on hover for file description pages. */ .filehistory a img, #file img:hover { /* @embed */ background: white url(images/Checker-16x16.png) repeat; } This basically means the previous patch had one 'hover' too many. Fine with me. Anyone against it? Otherwise I'll commit that in a few days. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #20 from Erwin Dokter er...@darcoury.nl 2011-07-09 17:49:52 UTC --- I wa thinking more about a static bar above the image, not the kind that pops up like in IE. I know what the C stands for. The reason why it may not work is because local CSS overrides the CSS in core. Enwiki now has a static bg-image; placing a hover in the core CSS will be overridden by that static bg-image. But that is indeed not a big issue. I am asuming that the scope of this bug is the image description page only, so transparency outside of the image description page (such as galleries in non-article space) are not considered. On the image description page, there are two elements: the main image, and the thumbnails in the history table. I propose we make main image transparent on hover, and the history thumbs permanently transparent. That would done as follows: /* * Add a checkered background image on hover for file description pages. */ .filehistory a img, #file img:hover { /* @embed */ background: white url(images/Checker-16x16.png) repeat; } This basically means the previous patch had one 'hover' too many. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 DieBuche diebu...@gmail.com changed: What|Removed |Added CC||diebu...@gmail.com AssignedTo|wikibugs-l@lists.wikimedia. |diebu...@gmail.com |org | --- Comment #14 from DieBuche diebu...@gmail.com 2011-07-08 19:58:03 UTC --- I'll take this one. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 DieBuche diebu...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED AssignedTo|diebu...@gmail.com |wikibugs-l@lists.wikimedia. ||org --- Comment #15 from DieBuche diebu...@gmail.com 2011-07-08 20:35:21 UTC --- (In reply to comment #13) On second thought, I'm not so sure if adding yet more preferences is good thing. Totally agreed. It seems the hover toggle is the way to go. (Not on galleries though, just the main image; enwiki uses transparency only on non-article galleries.) A hover toggle is as simple as adding :hover to common.css, and maybe moving the CSS to core all together. Done in r91756 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Krinkle krinklem...@gmail.com changed: What|Removed |Added AssignedTo|wikibugs-l@lists.wikimedia. |diebu...@gmail.com |org | -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Erwin Dokter er...@darcoury.nl changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #16 from Erwin Dokter er...@darcoury.nl 2011-07-08 22:44:14 UTC --- Reverted in r91761, therefor reopened. As Krinkle commented, we need to flesh out how this should be done. Since many sites already have transparency set in their CSS, this patch would not have worked reliably anyway. I think we should leave the choice the the respective sites on what they want to do with their CSS. I tried the hover CSS for some weeks, but that isn't quit it either. A more elegant solution would be to have some image toolbar/applet above the image, styled after the edit toolbar, that can toggle tranparency combined with toggling the checkered background and even choose background color, and store it's settings as a cookie. That should be easy to achieve. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #17 from DieBuche diebu...@gmail.com 2011-07-08 23:00:05 UTC --- (In reply to comment #16) Reverted in r91761, therefor reopened. As Krinkle commented, we need to flesh out how this should be done. Since many sites already have transparency set in their CSS, this patch would not have worked reliably anyway. I think we should leave the choice the the respective sites on what they want to do with their CSS. I tried the hover CSS for some weeks, but that isn't quit it either. A more elegant solution would be to have some image toolbar/applet above the image, styled after the edit toolbar, that can toggle tranparency combined with toggling the checkered background and even choose background color, and store it's settings as a cookie. That should be easy to achieve. AFAIK it's hard to impossible (maybe using canvas?) to detect whether an image has an alpha channel via JS. And showing the toolbar on every non-transparent image is rather irritating (because it won't do anything) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #18 from Erwin Dokter er...@darcoury.nl 2011-07-08 23:39:38 UTC --- I had not considered that. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #19 from Bawolff bawolff...@gmail.com 2011-07-09 01:53:52 UTC --- AFAIK it's hard to impossible (maybe using canvas?) to detect whether an image has an alpha channel via JS. And showing the toolbar on every non-transparent image is rather irritating (because it won't do anything) I really do not like that idea. Remember how annoying the IE image toolbar was (maybe thats just me). I do not think that would be good usability, even if used only on transparent images. (Also, things that only appear on some images without being appearent why, especially tooltip things, are annoying too. See the title on links bug and the controversy that caused) Since many sites already have transparency set in their CSS, this patch would not have worked reliably anyway. I think we should leave the choice the the respective sites on what they want to do with their CSS. Why not. The C in CSS stands for cascading. I do not think we should care about weird hacks wikis do unless they cause severe incompatibility (which this doesn't. At worse on hover the background would change to a different transparent image). Most mediawiki users (outside of Wikimedia) will not know enough to do custom css stuff. (for reference, I think the hover on file pages only solution is a good idea) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #13 from Erwin Dokter er...@darcoury.nl 2011-05-20 23:17:00 UTC --- On second thought, I'm not so sure if adding yet more preferences is good thing. It seems the hover toggle is the way to go. (Not on galleries though, just the main image; enwiki uses transparency only on non-article galleries.) A hover toggle is as simple as adding :hover to common.css, and maybe moving the CSS to core all together. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #12 from Mark A. Hershberger m...@everybody.org 2011-02-17 15:11:20 UTC --- *** Bug 27458 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added CC||raimond.spekk...@gmail.com --- Comment #11 from Mark A. Hershberger m...@everybody.org 2011-02-17 00:19:36 UTC --- *** Bug 27458 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #10 from Platonides platoni...@gmail.com 2011-02-08 23:30:25 UTC --- (In reply to comment #8) Alternatively, if this would fragment cache (not sure if it does, I don't expect it will) It wouldn't. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Krinkle krinklem...@gmail.com changed: What|Removed |Added CC||krinklem...@gmail.com --- Comment #8 from Krinkle krinklem...@gmail.com 2011-02-03 01:02:49 UTC --- (In reply to comment #7) Instead of JavaScript, how about a pure css solution, changing the background to checkered on hover? That'd be cleaner, simpler and make the verification of background transparency even faster than clicking a toggle link/button. Not bad at all, but when manually scanning a category or gallery page, having to hover each to see if and how an image is transparent would not be very user friendly. I'd suggest making a preference dropdown: * Apply checkered background on hover [CSS :hover { background } ] * Don't apply checkered backgrounds [] * Apply checkered backgrounds by default [CSS { background} ] Still no javascript required. and a small bit of css is added/removed (the same way the css for stub articles is dynamically loaded in a special way). Alternatively, if this would fragment cache (not sure if it does, I don't expect it will) - we could opt for a pseudo-javascript implementation, in which the preference is set and can be retrieved via javascript ( mw.user.options.get('checkedbackground') ), and then css can be added on-load by a core module (ie. mediawiki.js or mediwiki.util.js) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #9 from Erwin Dokter er...@darcoury.nl 2011-02-03 02:08:16 UTC --- Are galleries and categories subject of this discussion? I was under the impression that only the main image on an image description page should be toggled. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Erwin Dokter er...@darcoury.nl changed: What|Removed |Added CC||er...@darcoury.nl --- Comment #6 from Erwin Dokter er...@darcoury.nl 2011-02-01 10:57:53 UTC --- I like the toggle idea on the image description page, provided the history images remain transparent. Users should also be able to set a default in their preferences (under Appearence). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Waldir wal...@email.com changed: What|Removed |Added CC||wal...@email.com --- Comment #7 from Waldir wal...@email.com 2011-02-01 15:29:11 UTC --- Instead of JavaScript, how about a pure css solution, changing the background to checkered on hover? That'd be cleaner, simpler and make the verification of background transparency even faster than clicking a toggle link/button. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 MZMcBride b...@mzmcbride.com changed: What|Removed |Added Summary|Add checkered background to |Add toggle for checkered or |transparent image |transparent image |backgrounds |background on file ||description pages -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 Ashar Voultoiz has...@free.fr changed: What|Removed |Added Status|REOPENED|NEW -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26470] Add toggle for checkered or transparent image background on file description pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=26470 --- Comment #5 from p858snake p858sn...@gmail.com 2011-01-31 07:07:48 UTC --- Probably wouldn't be that hard with some jquery magic to add some css (background image) onto the div... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l