X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTitle.php;h=66aadebc1938e4e2c51155406dded784376b0a57;hb=d7af41c98ec6627009f53306c17ada2a37d2e0c2;hp=6dc7db5097484000c6932f74e6911a09c283ceba;hpb=27c61fb1e94da9114314468fd00bcf129ec064b6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index 6dc7db5097..66aadebc19 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1320,7 +1320,7 @@ class Title implements LinkTarget { * @deprecated Since 1.31; use ::isSiteConfigPage() instead */ public function isCssOrJsPage() { - // wfDeprecated( __METHOD__, '1.31' ); + wfDeprecated( __METHOD__, '1.31' ); return ( NS_MEDIAWIKI == $this->mNamespace && ( $this->hasContentModel( CONTENT_MODEL_CSS ) || $this->hasContentModel( CONTENT_MODEL_JAVASCRIPT ) ) ); @@ -1348,7 +1348,7 @@ class Title implements LinkTarget { * @deprecated Since 1.31; use ::isUserConfigPage() instead */ public function isCssJsSubpage() { - // wfDeprecated( __METHOD__, '1.31' ); + wfDeprecated( __METHOD__, '1.31' ); return ( NS_USER == $this->mNamespace && $this->isSubpage() && ( $this->hasContentModel( CONTENT_MODEL_CSS ) || $this->hasContentModel( CONTENT_MODEL_JAVASCRIPT ) ) ); @@ -1398,7 +1398,7 @@ class Title implements LinkTarget { * @return bool */ public function isCssSubpage() { - // wfDeprecated( __METHOD__, '1.31' ); + wfDeprecated( __METHOD__, '1.31' ); return $this->isUserCssConfigPage(); } @@ -1417,11 +1417,11 @@ class Title implements LinkTarget { } /** - * @deprecated Since 1.31; use ::isUserCssConfigPage() + * @deprecated Since 1.31; use ::isUserJsConfigPage() * @return bool */ public function isJsSubpage() { - // wfDeprecated( __METHOD__, '1.31' ); + wfDeprecated( __METHOD__, '1.31' ); return $this->isUserJsConfigPage(); }