From a00d57bbff173ada18ce170af8f9af7c7ecdcb08 Mon Sep 17 00:00:00 2001 From: Florianschmidtwelzow Date: Fri, 24 Oct 2014 22:25:42 +0200 Subject: [PATCH] Add deprecated note to SkinTemplate Like mentioned in todo. Planned with 1.20, but now officially deprecated since 1.25. Change-Id: I2eabb642151f7e7ff05b52ff6718e78931604828 --- includes/skins/SkinTemplate.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ); } -- 2.20.1