On Thu, Aug 21, 2008 at 3:45 PM, Guy Van den Broeck guyvdb@gmail.com wrote:
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
I'm looking at it too. Hopefully will have another commit for this later this afternoon.
-Chad