Page MenuHomePhabricator

Title::getPageViewLanguage bypasses PageContentLanguage hook.
Closed, ResolvedPublic

Description

Title::getPageViewLanguage() now calls Content::getPageViewLanguage(), which in turn calls Content::getPageLanguage(). Title::getPageLanguage() is not called, and thus the PageContentLanguage hooks is bypassed.

The proposed solution is to move the PageContentLanguage from Title::getPageLanguage() to Content::getPageLanguage().


Version: 1.21.x
Severity: normal

Details

Reference
bz41493

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:52 AM
bzimport set Reference to bz41493.
bzimport added a subscriber: Unknown Object (MLST).

Closed older resolved bugs as verified.