Page MenuHomePhabricator

Alemannic user interface not selectable
Closed, ResolvedPublic

Description

Author: clemens.kienzle

Description:
There currently is no way to select Alemannic as the user language. How can it be made
available? The interface does exist in Alemannic but if a user switches the language or another
setting it's impossible to switch it back. This is pretty annoying on the Alemannic wikipedia
(http://als.wikipedia.org).Could this be done if this is the right place to ask?


Version: unspecified
Severity: major
URL: http://als.wikipedia.org/

Details

Reference
bz2819

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 8:39 PM
bzimport set Reference to bz2819.
bzimport added a subscriber: Unknown Object (MLST).

LanguageAls.php does not exist and need to be created.

clemens.kienzle wrote:

(In reply to comment #1)

LanguageAls.php does not exist and need to be created.

How can it be created? Again, the interface exists, it just can't be re-selected.

I'm fairly sure this issue was fixed in 1.4; it's possible the fix wasn't copied into 1.5 or got broken.

clemens.kienzle wrote:

(In reply to comment #3)

I'm fairly sure this issue was fixed in 1.4; it's possible the fix wasn't copied into 1.5 or got broken.

No, it never was selectable, ever, ever. I know, because I changed some other preferences months ago and
suddenly had an afrikaans interface! Then I couldn't change it back; there even was a warning
saying: "don't change the language as long as Alemannic isn't listed yet". Probably the Alemannic
administrators just forgot to get it listed.

en.ABCD wrote:

A temp fix (uses English for everything)

Added a version of a LanguageAls.php that is essentially empty - all text
defaults to English, however, the language appears in the list.

Attached:

nifler wrote:

(In reply to comment #5)

Created an attachment (id=713) [edit]
A temp fix (uses English for everything)

Added a version of a LanguageAls.php that is essentially empty - all text
defaults to English, however, the language appears in the list.

Was this supposed to change anything? I don't see any
difference: I can see the existing Alemannic interface when
I'm logged out, but when I'm logged in I can't select it.

  • J. 'mach' wust

Commited the dummy file in HEAD. Should fix the issue.
Wikimedia servers updated.

nifler wrote:

The issue is not fixed. The only thing that's changed is that now you can select
the language setting "als - Alemannisch" in the preferences.

However, a selection of the setting "als - Alemannisch" does not select the
Alemannic user interface. The Alemannic user interface will only appear when I
first logg out before I visit als.wikipedia.org . This means that the user
interface must still be around somewhere.

You have to change the language in your preferences. Users
are created with an interface language that default to the
one of the site.

clemens.kienzle wrote:

Well now we have two interfaces for Alemannic. One is the temporary one which is in English and called als-
Alemannisch; the other is called gem-alsatian - gem-alsatian. That one uses the Alemannic language interface.
So it's now possible to re-select the interface, it just has a strange name. If gem-alsatian - gem-alsatian is
renamed als-Alemannisch and the temporary English one is deleted, we're fine.

clemens.kienzle wrote:

Now something really went wrong. When I had gem-alsatian - gem-alsatian selected everything was in Alemannic.
Since today, it's suddenly in German. Apparently the request was made to change als-Alemannisch
(LanguageAls.php) to German so that it would be easier to translate (why we still have to translate when we
already have the Alemannic interface is beyond me, but...). Someone missunderstood this and changed gem-alsatian
(LanguageGem_alsatian.php) to German.

So now we don't have any Alemannic interface but instead we have one in English and one in German.
So LanguageGem_alsatian.php should be reverted to how it was and whatever is in it should go to LanguageAls.php.

Wiki.Melancholie wrote:

With bug 4793 the language code has been changed to [gsw], because this is a better
code instead of [gem-alsatian] (because it is contained in ISO 639-2). But now all
namespace names are in English, so we have many red links now; see Main_Page! Please
correct this. I think LanguageAls.php was already in use, but I am not sure (has
there been a "...gem-alsatian" file?). Thanks in advance, Melancholie

Wiki.Melancholie wrote:

The following should be LanguageGsw.php:

  1. http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/

LanguageGem_alsatian.php

  1. http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/

LanguageGem_alsatian.deps.php

Do not ask me what the difference is between those two ;-)
BTW: Isn't there a way to only use LanguageAls.php or only LanguageGsw.php (take the
one that is easier to do)? For your information: [als] is the web address; [gsw] is
the current xml:lang-code.

Ok, replaced the old ones with gsw and should be working correctly now.

Wiki.Melancholie wrote:

Ok, it works fine!
But:
Hmm, I do not know how long a cached version of an article is kept, but some
articles show still red links, no categories and no images (sometimes a bit
ugly). After purging those pages everything is shown properly! Could someone
clear all the cache of alsWP if it is not too much work, and only if this
problem seems to stay some more days. If this problem should disappear in the
next hours, we can wait ;-)