Page MenuHomePhabricator

Deprecate $wgLang
Open, Needs TriagePublic

Description

See parent task. This is a bug against core, bugs for extensions, if needed, should be subtasks of this one.

Event Timeline

Krinkle added a subscriber: Krinkle.

One of the more prominent uses in core comes from ContentHandler, seen in most page views when enabling verbose logging:

[wfDebug] [DEBUG] Unstubbing $wgLang on call of $wgLang::unstub from ContentHandler->getPageLanguage