aboutsummaryrefslogtreecommitdiffstats
path: root/includes/content/ContentHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/content/ContentHandler.php')
-rw-r--r--includes/content/ContentHandler.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php
index 71f3acf7fceb..b5411eb8495c 100644
--- a/includes/content/ContentHandler.php
+++ b/includes/content/ContentHandler.php
@@ -769,11 +769,10 @@ abstract class ContentHandler {
* that is, this method may load the content in order to determine the language.
*
* @stable to override
+ * @deprecated since 1.42 Use ParserOutput::getLanguage instead. See also OutputPage::getContLangForJS.
* @since 1.21
- *
* @param Title $title The page to determine the language for.
* @param Content|null $content The page's content, if you have it handy, to avoid reloading it.
- *
* @return Language The page's language for viewing
*/
public function getPageViewLanguage( Title $title, Content $content = null ) {