(Bug 41493) Move PageContentLanguage hook to Content class
authordaniel <daniel.kinzler@wikimedia.de>
Mon, 29 Oct 2012 17:08:04 +0000 (18:08 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 29 Oct 2012 17:08:04 +0000 (18:08 +0100)
commitd879e4227a59f740e1a73ec3315d580b54335402
tree2216a293f99cfafa148a88789daec7bd50582882
parentcc183225599962543f8005b9eb95198e286c137c
(Bug 41493) Move PageContentLanguage hook to Content class

This change moves the PageContentLanguage hook from Title::getPageLanguage
to Content::getPageLanguage, so the hook is no longer bypassed by
Content::getPageViewLanguage and consequently Title::getPageViewLanguage.

Change-Id: I51dabe9aee9d544483e7416a8fdf7721638d21bf
includes/Title.php
includes/content/ContentHandler.php