Page MenuHomePhabricator

Create a "zen mode"/"Distraction free mode" MediaWiki extension
Open, LowestPublic

Description

Perhaps might be nice in MediaWiki core, but would definitely be nice as at least a MediaWiki extension, we should implement a "zen mode" capability from ?action=edit.

GitHub and it seems like the Cloud9 IDE both have this mode. It's demonstrated here: https://docs.c9.io/zen_mode.html.

In short, in the case of GitHub, it appears to be a bit of JavaScript that adds a "zen mode" button to the UI. When the user clicks this button, the non-essential page elements are hidden from the page, allowing the user to focus on the textarea (or other central input area) alone. Basically it reduces the amount of noise on the page in order to increase the signal.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=14501

Details

Reference
bz45300

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:18 AM
bzimport set Reference to bz45300.
bzimport added a subscriber: Unknown Object (MLST).

Also knows as "Distraction free mode", e.g. in Sublime Text 2:

http://www.sublimetext.com/docs/2/distraction_free.html

Could easily be done as a gadget, rather than a extension.

So... I like the way that Phabricator does full screen. It's probably more accurately called full browser window. I think we should steal the (idea of) their code and put it in MediaWiki core. It can't be that much JavaScript... and then the wikitext edit toolbar (WikiEditor?) and the VisualEditor toolbar can be modified to expose this full browser window functionality. Does that seem reasonable?

Elitre added a subscriber: Elitre.Sep 10 2015, 12:41 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 10 2015, 12:41 PM
Jorm removed a subscriber: Jorm.Dec 26 2015, 7:21 PM