http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98412

Revision: 98412
Author:   ialex
Date:     2011-09-29 15:21:54 +0000 (Thu, 29 Sep 2011)
Log Message:
-----------
Per Aaron, follow-up r96859: add @deprecated comment, a wfDeprecated() and mark 
it for removal in next version since it's not used anywhere

Modified Paths:
--------------
    trunk/phase3/includes/parser/ParserOptions.php

Modified: trunk/phase3/includes/parser/ParserOptions.php
===================================================================
--- trunk/phase3/includes/parser/ParserOptions.php      2011-09-29 15:16:35 UTC 
(rev 98411)
+++ trunk/phase3/includes/parser/ParserOptions.php      2011-09-29 15:21:54 UTC 
(rev 98412)
@@ -137,7 +137,9 @@
        function setNumberHeadings( $x )            { return wfSetVar( 
$this->mNumberHeadings, $x ); }
        function setAllowSpecialInclusion( $x )     { return wfSetVar( 
$this->mAllowSpecialInclusion, $x ); }
        function setTidy( $x )                      { return wfSetVar( 
$this->mTidy, $x ); }
-       function setSkin( $x )                      {}
+
+       /** @deprecated in 1.19; will be removed in 1.20 */
+       function setSkin( $x )                      { wfDeprecated( __METHOD__ 
); }
        function setInterfaceMessage( $x )          { return wfSetVar( 
$this->mInterfaceMessage, $x ); }
        function setTargetLanguage( $x )            { return wfSetVar( 
$this->mTargetLanguage, $x, true ); }
        function setMaxIncludeSize( $x )            { return wfSetVar( 
$this->mMaxIncludeSize, $x ); }


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to