Last modified: 2013-08-22 14:55:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43493, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41493 - Title::getPageViewLanguage bypasses PageContentLanguage hook.
Title::getPageViewLanguage bypasses PageContentLanguage hook.
Status: VERIFIED FIXED
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
1.21.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-29 17:07 UTC by Daniel Kinzler
Modified: 2013-08-22 14:55 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2012-10-29 17:07:45 UTC
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().
Comment 1 Daniel Kinzler 2012-10-29 17:11:56 UTC
Fix at I51dabe9a
Comment 2 Robin Pepermans (SPQRobin) 2012-11-01 23:57:09 UTC
Merged the change.
Comment 3 denny vrandecic 2013-08-22 14:55:30 UTC
Closed older resolved bugs as verified.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links