Re: [Wikitech-l] Using LanguageConverter for Portuguese Variants

2010-08-09 Thread Helder Geovane
On Sun, Aug 8, 2010 at 19:19, Roan Kattouw roan.katt...@gmail.com wrote:

 2010/8/9 Helder Geovane heldergeov...@gmail.com:
  Would a prototype wiki be a good place to make it possible for
 Portuguese
  community to test the Language Conversion in practice?
 
 Sounds good to me personally, although I'll ask some other people to
 weigh in. I personally like the idea of a world where the standard
 response to hey we wanna play with this thing and it's all coded up
 already is sure, lemme set you up with a prototype wiki.

  We are considering[1][2] the possibility of using the system to handle
  regional differences in the written Portuguese, but it seems that the
  editors need more contact with the system before they can decide in
 favour
  or agains an efective use of the conversion system at pt.wikipedia.
  We have made some drafts of the PHP code[3] which is needed to start, and
  set of possible global conversion rules for some variants[4].
 
  What should we do to have a prototype wiki for this, if that is possible?
 
 You should start with getting your code in SVN. If it is or can be
 written in a way that makes it easy to disable (or if there's some
 other caveat such as it not doing anything if the conversion tables
 are empty), it can be committed straight to trunk. If this is not
 possible, it can be put in a branch, but trunk would really be
 preferred here, and disableability should be relatively easy to
 accomplish.

 Then when it's agreed that this should go on a prototype wiki, Ryan or
 I will set up the wiki and configure it, and it'll be all yours.

 Roan Kattouw (Catrope)


It seems to be sufficient to add set *$wgDisableLangConversion = true;* for
Portuguese wikis while testing at a prototype wiki (there it would have it's
default value [*=false]*). Would that be possible?

There is also an open bug related to this variable:
https://bugzilla.wikimedia.org/show_bug.cgi?id=18958

Helder
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Using LanguageConverter for Portuguese Variants

2010-08-09 Thread Roan Kattouw
2010/8/9 Helder Geovane heldergeov...@gmail.com:
 It seems to be sufficient to add set *$wgDisableLangConversion = true;* for
 Portuguese wikis while testing at a prototype wiki (there it would have it's
 default value [*=false]*). Would that be possible?

 There is also an open bug related to this variable:
 https://bugzilla.wikimedia.org/show_bug.cgi?id=18958

From reading that and the commits involved, it seems
$wgDisableLangConversion doesn't completely disable language
conversion, so that may need to be fixed first.

Roan Kattouw (Catrope)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Using LanguageConverter for Portuguese Variants

2010-08-09 Thread Helder Geovane
On Mon, Aug 9, 2010 at 10:31, Roan Kattouw roan.katt...@gmail.com wrote:

 2010/8/9 Helder Geovane heldergeov...@gmail.com:
  It seems to be sufficient to add set *$wgDisableLangConversion = true;*
 for
  Portuguese wikis while testing at a prototype wiki (there it would have
 it's
  default value [*=false]*). Would that be possible?
 
  There is also an open bug related to this variable:
  https://bugzilla.wikimedia.org/show_bug.cgi?id=18958
 
 From reading that and the commits involved, it seems
 $wgDisableLangConversion doesn't completely disable language
 conversion, so that may need to be fixed first.

 Roan Kattouw (Catrope)


If no one add rules to the MediaWiki:Conversiontable/pt-xyz tables and do
not add manual markup -{}- in the text, the language converter doesn't do
any conversion (at least it doesn't seems to do). But in this case we still
have the drop down menu at the top of the wiki pages (for variant selection)
and another at Special:Preferences. If we add $wgDisableLangConversion =
true; to LocalSettings.php then both menus are also disabled (they are not
shown), and so the feature seems to be completely disabled.

Does anybody know what would not be disabled with this setting?

Helder
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Using LanguageConverter for Portuguese Variants

2010-08-08 Thread Roan Kattouw
2010/8/9 Helder Geovane heldergeov...@gmail.com:
 Would a prototype wiki be a good place to make it possible for Portuguese
 community to test the Language Conversion in practice?

Sounds good to me personally, although I'll ask some other people to
weigh in. I personally like the idea of a world where the standard
response to hey we wanna play with this thing and it's all coded up
already is sure, lemme set you up with a prototype wiki.

 We are considering[1][2] the possibility of using the system to handle
 regional differences in the written Portuguese, but it seems that the
 editors need more contact with the system before they can decide in favour
 or agains an efective use of the conversion system at pt.wikipedia.
 We have made some drafts of the PHP code[3] which is needed to start, and
 set of possible global conversion rules for some variants[4].

 What should we do to have a prototype wiki for this, if that is possible?

You should start with getting your code in SVN. If it is or can be
written in a way that makes it easy to disable (or if there's some
other caveat such as it not doing anything if the conversion tables
are empty), it can be committed straight to trunk. If this is not
possible, it can be put in a branch, but trunk would really be
preferred here, and disableability should be relatively easy to
accomplish.

Then when it's agreed that this should go on a prototype wiki, Ryan or
I will set up the wiki and configure it, and it'll be all yours.

Roan Kattouw (Catrope)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l