[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wikitech-l
Subject:    Re: [Wikitech-l] [MediaWiki-CVS] SVN: [39748] trunk/phase3 (stupid
From:       "Guy Van den Broeck" <guyvdb () gmail ! com>
Date:       2008-08-21 19:45:00
Message-ID: 3f58d4fa0808211245o714c717ek8b9ce5f96d44cbd1 () mail ! gmail ! com
[Download RAW message or body]

2008/8/21 Roan Kattouw <roan.kattouw@home.nl>:
> Guy Van den Broeck schreef:
>> I understand. Maybe this process should be better documented.
>> At any rate, it can be communicated without insulting other people's
>> work in good faith.
>>
>> I tried simplifying the strings in r39776. This is as simple as I can
>> make it. The problem is that a string is constructed with as many
>> parts as there are changed tags, and each part is subdivided in as
>> many parts as there are arguments. This is all glued together with
>> keywords. I can't do any better than this.
> I haven't looked at your last commit, so I don't know whether you're
> aware of the feature I'm gonna tell you about or whether you used it in
> your last commit, but calling wfMsg('messagekey', 'foo', 'bar') will
> replace all occurrences of $1 in the message with 'foo' and $2 with
> 'bar'. Messages are also 'pluralized' by using {{PLURAL:}}: "You have $1
> new {{PLURAL:$1|message|messages}}".

Yes I'm aware of that :-). I can't use it, I'd need to be able to fill
in an array of strings in some kind of repeated substring. I don't
think that feature is available right?

>
> Roan Kattouw (Catrope)
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic