On Tue, Mar 30, 2010 at 7:01 PM, Trevor Parscal <[email protected]> wrote:
> On 3/30/10 12:26 PM, Siebrand Mazeland wrote:
>> From: Trevor Parscal
>> Sent: Tuesday, March 30, 2010 5:47 PM
>>
>> [..] but switching to _ from - might start being popular anyways so a switch 
>> over
>> might be something we could consider.
>>
>> [sm] personally I very much prefer "-" over "_" in message keys, as the 
>> underscore is ambiguous in a MediaWiki: pagename context. Furthermore having 
>> a huge rename operation of keys just because we want to change the i18n 
>> implementation does not sound like a useful activity...
>>
>> Siebrand
>>
>>
>> _______________________________________________
>> Wikitech-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
> Fair enough with the point on MediaWiki: page name context. Do you have
> any other thoughts about the idea?
>
> - Trevor
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

I'd like to chime in here saying I agree with using - over _. We try to stick
to - consistently, and the coding guide suggests using it over _. Going the
opposite direction will just confuse people :)

I'd actually like to see us rename all of the message keys (in core at least)
from having _ to -. I agree that it will be disruptive, but if we do
it in the span
of one release (and provide a maintenance script to update page titles), it
would be far less disruptive than trying to do it over time.

-Chad

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to