Last modified: 2011-09-05 00:58:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 30679 - some installer fields should always be LTR
some installer fields should always be LTR
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks: rtl
  Show dependency treegraph
Reported: 2011-09-01 10:58 UTC by Amir E. Aharoni
Modified: 2011-09-05 00:58 UTC (History)
2 users (show)

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

added 'dir'=>'ltr' to some fields (2.93 KB, patch)
2011-09-01 10:58 UTC, Amir E. Aharoni

Description Amir E. Aharoni 2011-09-01 10:58:25 UTC
Created attachment 9002 [details]
added 'dir'=>'ltr' to some fields

Some fields in the installer should always be dir="ltr" by default, because they are most likely Latin:

* config-upload-deleted 
* config-db-name
* config-db-prefix
* config-upload-deleted
* config-logo

In a rare case that some of these fields would be written in an RTL alphabet (an Arabic directory name, for instance), the user will be able to change the direction using Ctrl-Shift(-X).

Patch attached. It's my first PHP patch, so please be gentle :)
Comment 1 Robin Pepermans (SPQRobin) 2011-09-05 00:58:58 UTC
Patch applied in r96265.

It's sometimes hard to decide which fields should be LTR by default, imho..

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