}
}
- /**
- * Set the highest level of CSS/JS untrustworthiness allowed
- *
- * @deprecated since 1.24 Raising level of allowed untrusted content is no longer supported.
- * Use reduceAllowedModules() instead
- * @param string $type ResourceLoaderModule TYPE_ constant
- * @param int $level ResourceLoaderModule class constant
- */
- public function setAllowedModules( $type, $level ) {
- wfDeprecated( __METHOD__, '1.24' );
- $this->reduceAllowedModules( $type, $level );
- }
-
/**
* Limit the highest level of CSS/JS untrustworthiness allowed.
*
}
- /**
- * Actually output something with print.
- *
- * @param string $ins The string to output
- * @deprecated since 1.22 Use echo yourself.
- */
- public function out( $ins ) {
- wfDeprecated( __METHOD__, '1.22' );
- print $ins;
- }
-
/**
* Prepare this object to display an error page; disable caching and
* indexing, clear the current text and redirect, set the page's title
$articleId = $wikiPage->getId();
}
- $lang = $title->getPageLanguage();
+ $lang = $title->getPageViewLanguage();
// Pre-process information
$separatorTransTable = $lang->separatorTransformTable();