* @deprecated since 1.18 Use ->getSkin() in the most relevant outputting context you have
*/
public function getSkin() {
- //wfDeprecated( __METHOD__, '1.18' );
+ wfDeprecated( __METHOD__, '1.18' );
return RequestContext::getMain()->getSkin();
}
/**
* Alias for getEditToken.
- * @deprecated since 1.19, use getEditToken instead. Warnings in 1.21.
+ * @deprecated since 1.19, use getEditToken instead.
*
* @param $salt String|Array of Strings Optional function-specific data for hashing
* @param $request WebRequest object to use or null to use $wgRequest
* @return String The new edit token
*/
public function editToken( $salt = '', $request = null ) {
- # wfDeprecated( __METHOD__, '1.19' );
+ wfDeprecated( __METHOD__, '1.19' );
return $this->getEditToken( $salt, $request );
}
* @deprecated in 1.19, warnings in 1.21. Use getName()
*/
public static function logName( $type ) {
- # wfDeprecated( __METHOD__, '1.19' );
+ wfDeprecated( __METHOD__, '1.19' );
global $wgLogNames;
if( isset( $wgLogNames[$type] ) ) {
* @deprecated in 1.19, warnings in 1.21. Use getDescription()
*/
public static function logHeader( $type ) {
- # wfDeprecated( __METHOD__, '1.19' );
+ wfDeprecated( __METHOD__, '1.19' );
global $wgLogHeaders;
return wfMsgExt( $wgLogHeaders[$type], array( 'parseinline' ) );
}