From 493a76d4534c70ab0a47c65781c33b21d15f07fd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 13 Dec 2011 20:20:03 +0000 Subject: [PATCH] Followup r106070, r86347: copy some doc comments that apply to multiple functions so doxygen will pick them up --- includes/SpecialPage.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 853defe4f9..97b0c6de30 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -458,9 +458,41 @@ class SpecialPage { * @deprecated since 1.18 */ function name( $x = null ) { wfDeprecated( __METHOD__, '1.18' ); return wfSetVar( $this->mName, $x ); } + + /** + * These mutators are very evil, as the relevant variables should not mutate. So + * don't use them. + * @param $x Mixed + * @return Mixed + * @deprecated since 1.18 + */ function restriction( $x = null) { wfDeprecated( __METHOD__, '1.18' ); return wfSetVar( $this->mRestriction, $x ); } + + /** + * These mutators are very evil, as the relevant variables should not mutate. So + * don't use them. + * @param $x Mixed + * @return Mixed + * @deprecated since 1.18 + */ function func( $x = null) { wfDeprecated( __METHOD__, '1.18' ); return wfSetVar( $this->mFunction, $x ); } + + /** + * These mutators are very evil, as the relevant variables should not mutate. So + * don't use them. + * @param $x Mixed + * @return Mixed + * @deprecated since 1.18 + */ function file( $x = null) { wfDeprecated( __METHOD__, '1.18' ); return wfSetVar( $this->mFile, $x ); } + + /** + * These mutators are very evil, as the relevant variables should not mutate. So + * don't use them. + * @param $x Mixed + * @return Mixed + * @deprecated since 1.18 + */ function includable( $x = null ) { wfDeprecated( __METHOD__, '1.18' ); return wfSetVar( $this->mIncludable, $x ); } /** -- 2.20.1