From: Florianschmidtwelzow Date: Fri, 24 Oct 2014 20:25:42 +0000 (+0200) Subject: Add deprecated note to SkinTemplate X-Git-Tag: 1.31.0-rc.0~13485^2 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=a00d57bbff173ada18ce170af8f9af7c7ecdcb08;p=lhc%2Fweb%2Fwiklou.git Add deprecated note to SkinTemplate Like mentioned in todo. Planned with 1.20, but now officially deprecated since 1.25. Change-Id: I2eabb642151f7e7ff05b52ff6718e78931604828 --- diff --git a/includes/skins/SkinTemplate.php b/includes/skins/SkinTemplate.php index 5514ae01cf..0d4e623db2 100644 --- a/includes/skins/SkinTemplate.php +++ b/includes/skins/SkinTemplate.php @@ -226,7 +226,8 @@ class SkinTemplate extends Skin { $oldContext = null; if ( $out !== null ) { - // @todo Add wfDeprecated in 1.20 + // Deprecated since 1.20, note added in 1.25 + wfDeprecated( __METHOD__, '1.25' ); $oldContext = $this->getContext(); $this->setContext( $out->getContext() ); }