Page MenuHomePhabricator

I18n: BiDi: time in Special:Preferences relates to the options from the content language; the UI should display these not those from the UI language
Closed, InvalidPublic

Description

Author: gangleri

Description:
Hallo!

screen dump will follow

During rendering time in ~~~~ and ~~~~~ will be rendered according to the
content language. This prevents havin variants in other alpgabets as he: ja: ru:
etc.

As far as I know these options are defined in (... ¿LanguageXx.php? ... see Bug
3817: date format user preference option should be translatable). Some languages
might have more or less options. Some might not specify any option.

*requirement*
The options for time in Special:Preferences *should* relate to the options from
the content language. Please adapt the UI in order to display the content
language options ant *not* those from the UI language as happens now.
Users will se what they get. If there is a one to one corespondence between the
options between *all* languages both variant could be shown.

*notes*

  1. Please note that selecting the "ru:" language interface would not display any

option.

  1. Please note that if the LTR / RTL properties of content language and user

interface language are *not* the same proper BiDi rendering should be implemented.

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: trivial
URL: http://test.leuksman.com/index.php?title=Special:Preferences

Details

Reference
bz4234

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:57 PM
bzimport set Reference to bz4234.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

screen dump for bug 04234

Attached:

bugzilla_04234_date_and_time_001.jpg (642×1 px, 192 KB)

gangleri wrote:

examples of "standard MediaWiki signature rendering" are available at
http://test.leuksman.com/view/User_talk:Gangleri#just_more_timestamps

gangleri wrote:

see he: example as the atachment
http://bugzilla.wikimedia.org/attachment.cgi?id=1166&action=view
of Bug 4236: BiDi support for the personal toolbar

This report is confused and confusing. Bidi time issue? WTF?

gangleri wrote:

(In reply to comment #4)

This report is confused and confusing. Bidi time issue? WTF?

slowly
I hope you agree that in preferences you should offer only options / choices you
are *supporting*.

See the following scenario:
A user logs in at a wiki in English as FiverAlpha or commons and is changing the
user interface language to Hebrew.
He / she reloads the page.
He / she selects the date and time tab.

At the moment you are presentig the formats for time and date in Hebrew. So he /
she selects an option where Hebre text is included. This (the chosen option
using Hebrew text) is *not* what will be used later as only the "related" option
with text in English will be used.

If you change the MediaWiki code you must offer the options for "Time and date"
from the LanguageEn.php.

This means that you handle both MediaWiki messages from LanguageEn.php *and*
LanguageHe.php. This is the *BiDi* component of this bug report you would need
to take care.

I mentioned the possibility to show both the options in English and Hebrew
beside the selector buttons. This might be some help when you make your choice
in a language you are lost (hi:, ka: etc.).

best regards reinhardt [[user:gangleri]]

Just because you happened to select "he" instead of "fr" or "de" or "ja" doesn't make it "bidi".

"Bidi" means "bidirectional" and refers *specifically* to issues in which left-to-right and right-to-
left text are mixed. Just because there's language selection doesn't make it "bidi"; please stop
slapping "bidi" on everything.

The user time formatting option is only used in the UI, not in content. The default is used in
content. Timestamps in signatures are not formatted with the user option at all; they are formatted by
the default format for the content language. Changing your preferences has nothing to do with how they
are formatted, and will have no effect whatsoever.

gangleri wrote:

This was my mistake. I found bug 3856 comment 1 later (after posting this bug).
I never trayed this option before.

Now I could see that these options are relevant for the special pages as
recentchanges, contributions etc.

After one year of contributons it was not obvious to me that the setting "Date
format" at the tab "Date and time" in [[Special:Preferences]] is related to
special pages *only* / *mainly* / *mostly* .

An addtion "for special pages only" in "Date format" would give the necessery
hint to everybody.

I can confirm that the option works properly and this is *not* a BiDi bug. Sorry
of overwhelming you with these reports.

In the last weeks I focused mainly on these issues. If you take a look at
http://commons.wikimedia.org/w/index.php?title=Special%3AContributions&offset=0&limit=500&target=Brion_VIBBER&namespace=8&uselang=he
you will understand why.

Please let us find a way to fix these issues together. I have the time to make
extensive testings. You have the skills to fix the issues as soon as they are
identified. I do not like to spend your time with chacing "ghosts". Please
forgive me if I make a mistake from time to time.

Best regards reinhardt [[user:gangleri]]

gangleri wrote:

removed dependecy from bug 745 as it is not related to it