Στις 30-07-2010, ημέρα Παρ, και ώρα 11:09 -0700, ο/η Neil Kandalgaonkar έγραψε:
On 7/30/10 8:35 AM, Aryeh Gregor wrote:
Msg::get(). wfMsg()
This seems like a minimum compromise. Personally I'd go all the way to M::get() or M(), but that would be a bit too obscure and would break existing conventions for Mediawiki source.
It's worth favoring brevity more than usual in the message string function. Since it's used so often, a short name tends to increase overall comprehensibility of the code.
I could live with the class name Msg instead of Message. "get" is not particularly descriptive. "wfMsgObj" is only three letters longer than the string we use now, if people think that "wfMessage" is too long to type.
Ariel