Last modified: 2014-04-24 11:55:59 UTC
Several methods of Message don't yet support an array as $this->key: * getKey just returns the first key * inContentLanguage ignores $wgForceUIMsgAsContentMsg * toString uses only first key if no message found (probably minor issue) * __toString returns '<Array>' if toString() threw an exception (probably very minor issue) RawMessage does not support an array as key, either: * fetchMessage returns the original array, instead of a string representation
Alternative solution: deprecate/drop the array support altogether. If needed, it can be reimplemented on a layer top of Message class. RawMessage supporting an array of keys does not make any sense.
Agree, to both.
See https://gerrit.wikimedia.org/r/126936.
I suggest to either drop support for fallback on this level asap, or merge my patch to make it work consistently. I'm actually in favor of dropping the functionality, but I'm not sure how to best find all relevant places in the source, of for how long this feature would need to be deprecated.