As an anonymous user, you can only add new data. If you would like to also modify existing data, please create an account and indicate your languages on your user page.

Meta:Insect room/Archive/2010

From OmegaWiki
Jump to: navigation, search

{{#ifexist:Meta:Insect room/Archive/2009|previous year}}

Can't acces English Main Page[edit]

This is a more general problem, I just explain it using the Main Page before presenting thoughts about possible solutions.

When I am logged in, and I try to access the Main Page, the Colognian version of the Main Page is presented to me. My preferences have my interface language set to Colognian. Thus, OmegaWiki is usually quite courtous to me, using my preferred language on me. Yet, there are at least two occasions, when this behaviour is really undesirable:

  1. When I click the language link English on the Main Page, I do not get the English version, but rather the Colognian one again. This would be bewildering for readers in general.
  2. If I want to check for altered content of the English original so as to possibly update translations of the Main Page, I am unable to access it. This would be detrimental to editors, or translators at least.

Well, knowing about the internal workings of MediaWiki, I found that one can resort to &uselang=en or ?uselang=en manually appended to the Main Page URL. While that works, it is not something, we can, or should, recommend to the average user :-) rather each of the language links should work as naïvely expected. Actually, all do, but English.

What can we do? We have several ways to accomplish what's wanted for English:

  • Include uselang=en in the link to the English version. -- Drawbacks: no clickable way to edit the English version, not even indirectly, alters interface language as well.
  • Include redirect=no in the link to the English version. -- Drawback: English is a special case.
  • Link to [[Meta:Main Page/eng]], which has a transclusion {{Meta:Main Page}} -- Drawback: no clickable way to edit the English version, not even indirectly.
  • Link to [[Meta:Main Page/eng]], which contains the English Main Page, while Meta:Main Page only transcludes it.
  • Link to [[Meta:Main Page/eng]], which contains the English Main Page, while Meta:Main Page redirects to it.

There is more to be considered:

  • Other pages with language versions are likely affected in the same way.
  • Although the automated choice of a language version of a page can be avoided with the redirect=no URL parameter, there is no "redirected from …" subtitle shown, as with normal redirects.
  • The automatic choice of a language version of a page is currently usually not working for the two-letter codes of ISO 639-1 used in the language settings in the preferences, -- except French, since we have a page Meta:Main Page/frredirecting to Meta:Main Page/fra.
  • Sooner or later, we shall evaluate browser supplied language preferences, too, at least for non logged in users.
  • Two-letter subpages redirecting to their three-letter equivalents could generally be created. Of course that was both a lot of labour unless automated, and creating undesirable clutter.
  • Mapping ISO 639-1 two-letter codes to ISO 639-3 three-letter codes in the software is likely not a big deal. -- By the way, the Babel Extension already does the inverse mapping.

Currently, I suggest the implemening the last suggestions of both of the lists above, that is:

  1. Meta:Main Page redirects to Meta:Main Page/eng, which contains the English version,
  2. and mapping ISO 639-1 two-letter codes to ISO 639-3 three-letter codes programmatically.

Any comments? --Purodha Blissenbach 02:01, 25 September 2010 (UTC)

You should do like Meta:Main Page/fr. The language list on top should disappear, because it is unrealistic (and ugly) to have a list of so many languages appear on top of the page. It is replaced by a small message giving a link to the original version from which it is translated (does not have to be English, For example, Kölsch could use German as a basis for translation).
But I see you have read Meta:International_Beer_Parlour#Automatically_displaying_the_page_in_your_language, so you know all that already... --Kip 08:16, 25 September 2010 (UTC)
I apparently read it, probably when I was near to falling asleep. I had apparently forgotten the details. --Purodha Blissenbach 07:58, 26 September 2010 (UTC)

Missing image[edit]

Today I tried editing OW with Internet Explorer. I noticed, besides the "usual" Javascript errors, that there is a missing image in the edit page. This lacking image goes unnoticed in Firefox: . It's referenced in the Translations, in the column text header "Remove". In Firefox, the broken image is not noticeable. Maybe this can be easily fixed. Malafaya 13:52, 27 September 2010 (UTC)

The Javascript error is gone (I corrected MediaWiki:Common.js). Malafaya 14:31, 27 September 2010 (UTC)
I found the missing image and put it at . Now, the image should be commited to svn and the path when calling the image should be corrected in Editor.php . (I have no access to the PC with commit rights at the moment) --Kip 18:34, 27 September 2010 (UTC)
I have commited it. --Purodha Blissenbach 07:22, 28 September 2010 (UTC)
Repaired! the icon is there again :) --Kip 15:43, 28 November 2010 (UTC)


The German expression Akkudativ has a Wikipedia-Link to the German Wikipedia, but you see a Link to the Dutsch Wikipedia on this page, which should appear in the appropriate section of the Dutch expression page on objectief only. --Purodha Blissenbach 01:33, 5 November 2010 (UTC)

It is not how it works. The link that displays is in the language of the user interface, not in the language of the expression. If you set your user interface to German, you'll see a link to the German Wikipedia. --Kip 07:19, 5 November 2010 (UTC)
I do not really understand how that could be meant programmtically. We retrieve an expression having a Wikipedia link. (If so, I would expect to have that displayed, regardless of all languages, but) now we go and retrieve syntrans to be shown along with the expression. Then we select (which?) one of the syntrans having the (interface or uselang) language and a Wikipedia link. If there is one, we use that. If there is none, we select (which?) language having a Wikipedia link, and use that. Why so complicated?
I want to verify that I entered correct Wikipedia links for many languages by klicking them so as to see what I get, but these links are all but one hidden from me. I can look them up under annotations, and copy&pase them, but that's not what I really want.
--Purodha Blissenbach 11:14, 5 November 2010 (UTC)
Then you can create your own javascript function in your user monobook.js that does what you want it to do. You have to call it function displayIconsRight() in order to override the default function in MediaWiki:Common.js. --Kip 13:17, 5 November 2010 (UTC)

done --Kip 15:03, 4 March 2011 (UTC)

{{#ifexist:Meta:Insect room/Archive/2011|== Next year == Meta:Insect room/Archive/2011}}