Last modified: 2013-11-09 02:43:32 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 T58780, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56780 - VisualEditor: The default direction of the <textarea> for editing the content of <source> must be LTR
VisualEditor: The default direction of the <textarea> for editing the content...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2013-11-14
Assigned To: Moriel Schottlender
:
Depends on:
Blocks: ve-rtl 55533
  Show dependency treegraph
 
Reported: 2013-11-08 14:27 UTC by Amir E. Aharoni
Modified: 2013-11-09 02:43 UTC (History)
5 users (show)

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


Attachments

Description Amir E. Aharoni 2013-11-08 14:27:43 UTC
Currently, if I go to https://www.mediawiki.org/wiki/User:Amire80/ve-source and
edit it using VE, I can edit the content of the <source> tag. If my UI language
is Hebrew, then the <textarea> for editing the poem is RTL. I would expect it
to be always LTR by default, because source code is almost always LTR. (There are some RTL programming languages like Hebrew Logo and Arabic Alb, but these are very rare exceptions and the <source> tag doesn't support them anyway.)

This is comparable to Bug 56779, but unlike in that bug, here the request is that the direction will be explicitly set to ltr rather than the surrounding direction.

There may be other tags for which something like this would be useful, but I can't think of any at the moment.
Comment 1 Amir E. Aharoni 2013-11-08 14:28:51 UTC
Another nice thing to do would be to use CodeEditor instead of <textarea>.
Comment 2 Gerrit Notification Bot 2013-11-08 21:01:20 UTC
Change 94424 had a related patch set uploaded by Mooeypoo:
Force LTR direction in MWSyntaxHighlightDialog

https://gerrit.wikimedia.org/r/94424
Comment 3 Gerrit Notification Bot 2013-11-09 02:42:46 UTC
Change 94424 merged by jenkins-bot:
Force LTR direction in MWSyntaxHighlightDialog

https://gerrit.wikimedia.org/r/94424

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


Navigation
Links