Extension talk:Multilang

works for 1.6.8 --M2mtech 18:51, 6 January 2007 (UTC)
 * First, sorry for my late answer. Nice to hear that it works as well on 1.6.8. (which I definitely also want to support, as not everyone wants or is able to switch to PHP 5). Can you have a look if the new (0.11) version also works on 1.6.8? Arnomane 01:45, 17 January 2007 (UTC)

Yes, works also with 1.6.9 --M2mtech 17:52, 5 February 2007 (UTC)

multilang breaks NOSECTIONEDIT magic word
To fix this we had to add the following line:

$parser->mOptions->mEditSection = false; --M2mtech 18:51, 6 January 2007 (UTC)


 * Hm I tried to reproduce it with MediaWiki pre-1.9 (SVN-version) and wasn't able triggering the behaviour that it breaks . Can you have a look if the bug is gone in multilang 0.11 with your MediaWiki version (I assume 1.6.8)? Arnomane 01:45, 17 January 2007 (UTC)
 * Ah now I got the trick how to reproduce it. You meant it breaks inside a multilang tag (I did place it outside the multilang on the same page in my first test), right? I will have to look what happens there. Atm I have no clue (and your fix would remove section edit on every multilang text). Hm can you give me an example when it is necessary to place   inside a multilang tag and not outside? Arnomane 01:56, 17 January 2007 (UTC)

Some further update: Multilang 0.11 does the following: If you place sections inside a multilang text and use the magic word like in the following code example it only makes no section edit for this multilanguage part but not on the entire page (so the last section in this example has section edit): @de|

test 1
blubb 1

test 2
blubb 2

test
foo This behaviour is due to the parser. The parser renders the text inside multilang completely independent from the text outside. So I don't see how I could avoid that. On the other hand I also like this behaviour with nested NOEDITSECTION a bit. So can you give me an example, which causes problems with that? Arnomane 02:17, 17 January 2007 (UTC)

Yes, we used 1.6.8 (now 1.6.9) ... and 0.11 did the trick! --M2mtech 17:52, 5 February 2007 (UTC)

manually switching languages
Q: First of all: Thanks a lot for this great extension; it's incredibly useful! However, there's one issue: I need to be able to manually switch between languages without much of a hassle. Is there an easy way to do that?

A: I just found out about the "uselang" URL parameter, so it could be done with a template like this:  [ English] | [ German] -- FND 07:31, 14 February 2007 (UTC)

ISO 639-3
would be nice if ISO 639-3 codes could be used and internally matched with the RFC 4646 or RFC 3066 codes or whichever system mediawiki uses. Tobias Conradi 01:16, 13 February 2007 (UTC)
 * Hm current MediaWiki uses ISO 639-1 for languages (with some ad-hoc extensions), see Names.php. ISO 639-3 would be much better in the long run but I want to avoid maintaining myself a match table against the MediaWiki list. However the people of http://omegawiki.org use a MediaWiki branch that uses ISO 639-3. Maybe it would be possible borrowing something from there.
 * However a more important thing related to that is currently on my table: Multilang does not check itself the single "@language" sections if they contain a valid language code. I thought about checking the language sections against the code list and throwing a parser error in case of an invalid language code. That way people could quickly notice typos. Arnomane 21:24, 17 February 2007 (UTC)

Multilang in Sidebar
Is it possible to use tag in the Sidebar in order to have different navigation possibilities for each language? Sébastien 12:49, 10 April 2007 (UTC)