From 1e94b1be892f4f15e8b7f946bca795e70d07ca54 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 29 Sep 2011 15:21:54 +0000 Subject: [PATCH] Per Aaron, follow-up r96859: add @deprecated comment, a wfDeprecated() and mark it for removal in next version since it's not used anywhere --- includes/parser/ParserOptions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/parser/ParserOptions.php b/includes/parser/ParserOptions.php index eceef69813..d462df5d50 100644 --- a/includes/parser/ParserOptions.php +++ b/includes/parser/ParserOptions.php @@ -137,7 +137,9 @@ class ParserOptions { 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 ); } -- 2.20.1