Add deprecated note to SkinTemplate
authorFlorianschmidtwelzow <florian.schmidt.welzow@t-online.de>
Fri, 24 Oct 2014 20:25:42 +0000 (22:25 +0200)
committerFlorianschmidtwelzow <florian.schmidt.welzow@t-online.de>
Fri, 24 Oct 2014 20:25:42 +0000 (22:25 +0200)
Like mentioned in todo. Planned with 1.20, but now officially deprecated
since 1.25.

Change-Id: I2eabb642151f7e7ff05b52ff6718e78931604828

includes/skins/SkinTemplate.php

index 5514ae0..0d4e623 100644 (file)
@@ -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() );
                }