Last modified: 2014-11-17 10:35:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43770, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41770 - Highlighting syntax within editing window by default
Highlighting syntax within editing window by default
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-04 18:24 UTC by Jethro
Modified: 2014-11-17 10:35 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Example of syntax highlighting using AceWikiEditor (122 bytes, text/plain)
2012-11-04 18:33 UTC, Jethro
Details
Screenshot of AceWikiEditor as an example of syntax highlighting. (124.62 KB, image/png)
2012-11-04 18:35 UTC, Jethro
Details

Description Jethro 2012-11-04 18:24:55 UTC
Having read <https://bugzilla.wikimedia.org/show_bug.cgi?id=16268> and <https://bugzilla.wikimedia.org/show_bug.cgi?id=11627>, this enhancement proposal is sufficiently different and is based on different discussion.

There is a wide consensus of editors who would like to see syntax highlighting in the standard editing window turned on by default, particularly for references, for wiki markup.  This consensus has been reached in two discussions on en.wiki, one at the Village Pump <http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28proposals%29/Archive_92#Differentiating_reference_syntax_in_the_editing_window.> and one in a Request For Comments that was a part of Centralized Discussion for 30 days:  <http://en.wikipedia.org/wiki/Wikipedia:Requests_for_comment/Syntax_differentiation_in_editing_window>.  Given the course of the discussion, and the overwhelming support for this functionality, I decided to submit this proposal to bugzilla.  

Many participants in the above discussions expressed that adding a syntax highlighter would make editing a more accessible experience for newer users.  In fact, direct feedback from new editors has suggested that this has been a problem (e.g. <http://en.wikipedia.org/wiki/Special:FeedbackDashboard/46104>).  They are also unsatisfied with 

Previous proposals have stated that implementing this internally is not possible.  However, this is incorrect; there are at least some examples of non-external editors that work or could work reasonably well:
- jsfiddle:  <http://jsfiddle.net/> (with implementation: <http://doc.jsfiddle.net/>)
- AceWikiEditor:  <http://no.wikipedia.org/wiki/Hjelp:AceWikiEditor>
- en.wikipedia user RememberTheDot's syntax highlighter: <http://meta.wikimedia.org/wiki/User:Remember_the_dot/Syntax_highlighter> (which I use).

The only thing I would have liked to see more of in the above discussions were persons who might be able to discuss a specific implementation.  Some discussion of that is here: <http://en.wikipedia.org/wiki/Wikipedia:Requests_for_comment/Syntax_differentiation_in_editing_window#Implementation>.  Such discussion would be helpful here, given the above information on how it may be viable to implement this internally.
Comment 1 Jethro 2012-11-04 18:33:40 UTC
Created attachment 11300 [details]
Example of syntax highlighting using AceWikiEditor
Comment 2 Jethro 2012-11-04 18:35:36 UTC
Created attachment 11301 [details]
Screenshot of AceWikiEditor as an example of syntax highlighting.
Comment 3 Platonides 2012-11-04 18:37:11 UTC
You know that the existing javascript solutions could be installed as default gadgets, right?
Comment 4 Jethro 2012-11-04 18:42:02 UTC
Right, but I figured in order to turn something on by default for all users, it would need to come here.  Also, a specific implementation would need to be decided upon.
Comment 5 the wub 2012-11-04 19:26:34 UTC
If there's consensus on a particular javascript implementation, and it's been thoroughly tested, then it can be done by a local administrator - see https://en.wikipedia.org/wiki/Wikipedia:Gadget#Default_gadgets

Suggest closing this bug since it doesn't require any developer intervention.
Comment 6 Derk-Jan Hartman 2012-11-04 19:44:19 UTC
Won't get into core, since VisualEditor is where resources are dedicated in this area (unless a volunteer picks it up, which i doubt will happen).

Default gadget seems like the simplest and most effective solution. And devs won't have to deal with all the people complaining which will inevitably follow if this is turned on by default.
Comment 7 Jethro 2012-11-04 19:47:12 UTC
Thanks.  I didn't know this could be implemented by a local admin.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links