Wikipedia:Wikipedia Signpost/2023-12-24/Technology report: Difference between revisions
signatures |
Add next edition (via script) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Wikipedia:Wikipedia Signpost/Templates/RSS description|1=Dark mode is coming: No more must Wikipedia always be a lightbulb in the dark — except metaphorically of course.}}{{Wikipedia:Signpost/Template:Signpost-header|||}}</noinclude> |
|||
<noinclude>{{Signpost draft |
|||
|title = <!-- Copy the title from below here--> |
|||
|blurb = <!-- REPLACE THIS with a short description / blurb --> |
|||
|Ready-for-copyedit = No |
|||
|Copyedit-done = No |
|||
|Final-approval = No <!--Should only be used by EiC --> |
|||
⚫ | |||
⚫ | |||
|1=<!-- LEAVE BLANK to use "<title>: <blurb>" (using title and blurb from above), or replace with a custom description for the RSS feed --> |
|||
⚫ | |||
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-header-v2 |
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-header-v2 |
||
⚫ | |||
|{{{1|Dark mode is coming}}} |
|||
⚫ | |||
}} |
}} |
||
''This post was [[wmfblog:2023/11/24/dark-mode-is-coming/|originally published on Diff]].'' |
:''This post was [[wmfblog:2023/11/24/dark-mode-is-coming/|originally published on Diff]].'' |
||
:''Olga Vasileva, Szymon Grabarczuk, and Jon Robson are the Wikimedia Foundation's Web Team Project Manager, Lead Community Relations Specialist, and Web Software Developer respectively.'' |
|||
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=no<!--CHANGE TO YES FOR A 'FULLWIDTH' ARTICLE-->}} |
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=no<!--CHANGE TO YES FOR A 'FULLWIDTH' ARTICLE-->}} |
||
{{Signpost inline image|image=File:Accessibility for reading mockup with dark mode on.png|caption=Image for the dark mode beta feature, design by [[ |
{{Signpost inline image|image=File:Accessibility for reading mockup with dark mode on.png|caption=Image for the dark mode beta feature, design by [[User:JScherer-WMF|Justin Scherer (WMF)]].}} |
||
⚫ | |||
|1 = When we’re at night, the white skin of Wikipedia dazzles us and it’s very uncomfortable. I suggest a night mode switch for users or at least a darker color. Also available for the mobile version. |
|||
|author = [[m:Community Wishlist Survey 2017/Reading/Night-mode for read articles?|VictorPines, 2017]] |
|||
⚫ | |||
⚫ | |||
|1 = Some kind of toggleable dark or night-mode. It would be most accessible as a feature for everyone and not just a new skin for logged-in users. |
|||
|author = [[m:Community Wishlist Survey 2019/Reading/Night mode|Premeditated Chaos, 2018]] |
|||
}} |
|||
⚫ | |||
|1 = Colors of Wikimedia projects are white or near white, which on long view time causes damage to eyes, and consumes more energy on the laptop. |
|||
|author = [[m:Community Wishlist Survey 2021/Archive/Dark color theme|David L, 2021]] |
|||
}} |
|||
⚫ | |||
⚫ | |||
|1 = Please add dark mode!! |
|||
⚫ | |||
}} |
|||
The Wikimedia Foundation has seen many requests like these. Dark mode is available in the Wikipedia mobile apps but still not in the web browser. It’s been a common request from editors in the [[metawiki:Community_Wishlist_Survey|Community Wishlist Surveys]] and the [[mw:Reading/Web/Desktop_Improvements|rollouts of the Vector 2022 skin]] |
The Wikimedia Foundation has seen many requests like these. Dark mode is available in the Wikipedia mobile apps, but still not in the web browser. It’s been a common request from editors in the [[metawiki:Community_Wishlist_Survey|Community Wishlist Surveys]] and the [[mw:Reading/Web/Desktop_Improvements|rollouts of the Vector 2022 skin]] — hundreds of comments! We would like to thank for all these. |
||
Some time ago, a few Foundation staff members, Volker, Alex, Carolyn, and MusikAnimal, built a [[User:Volker E. (WMF)/dark-mode|dark mode script]] as an experiment. It has become a [[wikidata:Q110850796|popular gadget across wikis]]. But until this year, making dark mode a regular part of the interface was not possible. Now, with help from communities, we are finally ready to work on this feature! Continue reading to learn about the benefits of dark mode, what made it possible, and how to get involved. |
Some time ago, a few Foundation staff members, Volker, Alex, Carolyn, and MusikAnimal, built a [[User:Volker E. (WMF)/dark-mode|dark mode script]] as an experiment. It has become a [[wikidata:Q110850796|popular gadget across wikis]]. But until this year, making dark mode a regular part of the interface was not possible. Now, with help from communities, we are finally ready to work on this feature! Continue reading to learn about the benefits of dark mode, what made it possible, and how to get involved. |
||
===Why dark mode?=== |
|||
Dark mode improves accessibility. The primary benefit is that it reduces eye strain. When we’re in a long reading or editing session, particularly when it’s dark around us, the contrast between a bright screen and the surrounding darkness can cause discomfort. Dark mode mitigates this by giving us a darker background with light text, reducing glare and minimizing eye fatigue. This feature is especially helpful for night-time readers or readers who spend lots of time on their devices. |
Dark mode improves accessibility. The primary benefit is that it reduces eye strain. When we’re in a long reading or editing session, particularly when it’s dark around us, the contrast between a bright screen and the surrounding darkness can cause discomfort. Dark mode mitigates this by giving us a darker background with light text, reducing glare and minimizing eye fatigue. This feature is especially helpful for night-time readers or readers who spend lots of time on their devices. |
||
Line 42: | Line 45: | ||
</gallery> |
</gallery> |
||
===What made building dark mode possible?=== |
|||
In the past, it was not possible to change our web interface based on the preferences of logged-out users. These users couldn’t set a preferred page density, change the font size, or set a dark mode. Also, the MediaWiki skin and design architecture made it difficult to maintain two color schemes (light and dark). It was necessary to improve these three facets first. |
In the past, it was not possible to change our web interface based on the preferences of logged-out users. These users couldn’t set a preferred page density, change the font size, or set a dark mode. Also, the MediaWiki skin and design architecture made it difficult to maintain two color schemes (light and dark). It was necessary to improve these three facets first. |
||
Line 52: | Line 55: | ||
With this system in place, we could begin planning the [[mw:Reading/Web/Accessibility_for_reading|Accessibility for reading]] project. This is our response to users’ need to read the wikis comfortably and to adjust the settings. In the first step, logged-in and logged-out users will be able to select different font sizes and text density. Dark mode will be next. |
With this system in place, we could begin planning the [[mw:Reading/Web/Accessibility_for_reading|Accessibility for reading]] project. This is our response to users’ need to read the wikis comfortably and to adjust the settings. In the first step, logged-in and logged-out users will be able to select different font sizes and text density. Dark mode will be next. |
||
===How? Together. But how exactly, and how to get involved?=== |
|||
Editors control content which includes templates: amboxes, infoboxes, navboxes, as well as bitmaps, timelines, tables, and more. Some of those, like weather and sports tables, use colors in a meaningful, or semantic, way. Simply inverting these colors would immediately lose their meaning. We need to find other options. |
Editors control content which includes templates: amboxes, infoboxes, navboxes, as well as bitmaps, timelines, tables, and more. Some of those, like weather and sports tables, use colors in a meaningful, or semantic, way. Simply inverting these colors would immediately lose their meaning. We need to find other options. |
||
Line 69: | Line 72: | ||
How do you feel about all this? [[mw:Talk:Reading/Web/Accessibility_for_reading|Write on our project talk page]]. Be sure to [[mw:Newsletter:Web_team's_projects|subscribe to the Web team newsletter]] to never miss an update from us. Thank you! {{small|—[[user:OVasileva (WMF)|OV]], [[User:SGrabarczuk (WMF)|SG]], [[user:Jon (WMF)|JR]] (WMF)}} |
How do you feel about all this? [[mw:Talk:Reading/Web/Accessibility_for_reading|Write on our project talk page]]. Be sure to [[mw:Newsletter:Web_team's_projects|subscribe to the Web team newsletter]] to never miss an update from us. Thank you! {{small|—[[user:OVasileva (WMF)|OV]], [[User:SGrabarczuk (WMF)|SG]], [[user:Jon (WMF)|JR]] (WMF)}} |
||
===Lead story two=== |
|||
{{Wikipedia:Wikipedia Signpost/Templates/Filler image-v2|image=|size=300px|caption=Example filler image and caption.}} |
|||
The story begins here. |
|||
⚫ | |||
⚫ | |||
===In brief=== |
|||
====New [[Wikipedia:User scripts|user scripts]] to customise your Wikipedia experience==== |
|||
{{hatnote|For further news and updates associated with user scripts, see the [[Wikipedia:Scripts++|Scripts++ Newsletter]]}} |
|||
{{highlight|Add using <nowiki>{{userscript |code= [.js] |name= [script name] |doc= [doc page] }}</nowiki> }} |
|||
*... |
|||
====[[Wikipedia:Bots|Bot]] tasks==== |
|||
{{highlight|(''SUBST: THE TRANSCLUSIONS, AND TRIM/REFORMAT, PRIOR TO PUBLICATION'')}} |
|||
=====Recently [[Wikipedia:Bots/Requests for approval/Approved|approved tasks]]===== |
|||
{{tlu|Wikipedia:Bots/Requests_for_approval/Approved}} |
|||
=====Current [[Wikipedia:Bots/Requests for approval|requests for approval]]===== |
|||
{{tlu|Wikipedia:BAG/Status}} |
|||
====Latest tech news==== |
|||
Latest [[m:Special:MyLanguage/Tech/News|tech news]] from the Wikimedia technical community: [[m:Special:MyLanguage/Tech/News/2023/49|2023 #49]], [[m:Special:MyLanguage/Tech/News/2023/49|#49]], & [[m:Special:MyLanguage/Tech/News/2023/49|#49]] {{highlight|(''FIX WEEK NUMBERS'')}}. Please tell other users about these changes. Not all changes will affect you. Translations are [[m:Tech/News/Archives|available on Meta]]. |
|||
=====Meetings===== |
|||
* [[File:Octicons-sync.svg|12px|link=|Recurrent item]] [[File:Octicons-tools.svg|15px|link=|Advanced item]] Meeting item 1 |
|||
====Installation code==== |
|||
{{further|Wikipedia:User scripts#How do you install user scripts?}} |
|||
{{reflist}} |
|||
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}} |
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}} |
||
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-end-v2}} |
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-end-v2}} |
||
<noinclude>{{Wikipedia:Signpost/Template:Signpost-article-comments-end||2023- |
<noinclude>{{Wikipedia:Signpost/Template:Signpost-article-comments-end||2023-03-09|2024-01-10}}</noinclude> |
Latest revision as of 12:48, 12 January 2024
Dark mode is coming
- This post was originally published on Diff.
- Olga Vasileva, Szymon Grabarczuk, and Jon Robson are the Wikimedia Foundation's Web Team Project Manager, Lead Community Relations Specialist, and Web Software Developer respectively.
“ | When we’re at night, the white skin of Wikipedia dazzles us and it’s very uncomfortable. I suggest a night mode switch for users or at least a darker color. Also available for the mobile version. | ” |
— VictorPines, 2017 |
“ | Some kind of toggleable dark or night-mode. It would be most accessible as a feature for everyone and not just a new skin for logged-in users. | ” |
— Premeditated Chaos, 2018 |
“ | Colors of Wikimedia projects are white or near white, which on long view time causes damage to eyes, and consumes more energy on the laptop. | ” |
— David L, 2021 |
“ | Please add dark mode!! | ” |
— Crenshire, 2023 |
The Wikimedia Foundation has seen many requests like these. Dark mode is available in the Wikipedia mobile apps, but still not in the web browser. It’s been a common request from editors in the Community Wishlist Surveys and the rollouts of the Vector 2022 skin — hundreds of comments! We would like to thank for all these.
Some time ago, a few Foundation staff members, Volker, Alex, Carolyn, and MusikAnimal, built a dark mode script as an experiment. It has become a popular gadget across wikis. But until this year, making dark mode a regular part of the interface was not possible. Now, with help from communities, we are finally ready to work on this feature! Continue reading to learn about the benefits of dark mode, what made it possible, and how to get involved.
Why dark mode?
Dark mode improves accessibility. The primary benefit is that it reduces eye strain. When we’re in a long reading or editing session, particularly when it’s dark around us, the contrast between a bright screen and the surrounding darkness can cause discomfort. Dark mode mitigates this by giving us a darker background with light text, reducing glare and minimizing eye fatigue. This feature is especially helpful for night-time readers or readers who spend lots of time on their devices.
Many readers and editors favor dark mode. The softer, darker hues can be less harsh on the eyes and create a more relaxed reading environment, enhancing the reading experience.
What made building dark mode possible?
In the past, it was not possible to change our web interface based on the preferences of logged-out users. These users couldn’t set a preferred page density, change the font size, or set a dark mode. Also, the MediaWiki skin and design architecture made it difficult to maintain two color schemes (light and dark). It was necessary to improve these three facets first.
- We began with improving the skin architecture – we were doing this while building Vector 2022. This laid the foundation for further interface changes.
- Next, the Design Systems team introduced Codex and with it “design tokens”. These are useful variables, like templates on wikis that allow us to make and centralize color definitions.
- Finally, we added the ability to provide preferences for logged-out users. When working on Vector 2022, we built a toggle changing the content area width. After listening to editors’ opinions and some creative thinking, we made it available for logged-out users, too. Next, our engineers and architects created a wider system, allowing us to make more settings customizable.
With this system in place, we could begin planning the Accessibility for reading project. This is our response to users’ need to read the wikis comfortably and to adjust the settings. In the first step, logged-in and logged-out users will be able to select different font sizes and text density. Dark mode will be next.
How? Together. But how exactly, and how to get involved?
Editors control content which includes templates: amboxes, infoboxes, navboxes, as well as bitmaps, timelines, tables, and more. Some of those, like weather and sports tables, use colors in a meaningful, or semantic, way. Simply inverting these colors would immediately lose their meaning. We need to find other options.
Whatever technical approach we choose, we will coordinate with editors. We may build different solutions for big and small communities. In the coming weeks, we will reach out with specific questions and ideas.
We would like to start gradually, with a limited number of communities and wikis. First, the dark mode would be a beta feature. As such, it would only be available for logged-in users who decide to enable it. Any logged-in user will have an opportunity to test alongside us as we build out the final version.
We will talk to interface admins, template and module maintainers, and editors interested in making the wikis easier to read for everyone. Together with them, we would like to work on recommendations for making pages more friendly to dark mode. We will also help them adjust the current code on the wikis. When enough pages become dark-mode friendly, we will roll dark mode out for logged-out users. (On a side note, we aren’t sure how many pages are enough. We will ask about that, too!)
How do you feel about all this? Write on our project talk page. Be sure to subscribe to the Web team newsletter to never miss an update from us. Thank you! —OV, SG, JR (WMF)
Discuss this story
This is long overdue, but a welcome addition! Thanks to everyone on the web team for working tirelessly to work out all the quirks that happen with such a diverse platform! QuickQuokka [talk • contribs] 18:50, 24 December 2023 (UTC)[reply]