Last modified: 2013-06-18 16:58:07 UTC
Rename RequestContext::getLang to getLanguage. The truncated method name doesn't fit with the other methods and the full name is only four letters longer :)
r103817, but they'll likely be fallout from this. Keep an eye on it for a bit.
RequestContext::getLang() was added in 1.18. So either we also rename it there, or stick with the shorter name (take it as frozen).
(In reply to comment #2) > RequestContext::getLang() was added in 1.18. So either we also rename it there, > or stick with the shorter name (take it as frozen). Please, let's rename it there too.
Yeah I'm all for back-porting this. I'll update usage in extensions soon.
There's also a setLang() method which should presumably be changed to match the getter, too.
Apparently I did that r104015 Closing as no issues have arisen.