From: Siebrand Mazeland Date: Tue, 17 May 2011 08:46:29 +0000 (+0000) Subject: Make @deprecated documentation more consistent (see: http://svn.wikimedia.org/doc... X-Git-Tag: 1.31.0-rc.0~30109 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=e065a453f8ae3fdfd44d964fc7921e837befa57d;p=lhc%2Fweb%2Fwiklou.git Make @deprecated documentation more consistent (see: svn.wikimedia.org/doc/deprecated.html). --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 88d87e5631..bfafccee84 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2985,7 +2985,7 @@ $wgArticleCountMethod = null; /** * Backward compatibility setting, will set $wgArticleCountMethod if it is null. - * @deprecated in 1.19; use $wgArticleCountMethod instead + * @deprecated since 1.19; use $wgArticleCountMethod instead */ $wgUseCommaCount = false; @@ -3138,7 +3138,7 @@ $wgDefaultUserOptions = array( /** * Whether or not to allow and use real name fields. - * @deprecated in 1.16, use $wgHiddenPrefs[] = 'realname' below to disable real + * @deprecated since 1.16, use $wgHiddenPrefs[] = 'realname' below to disable real * names */ $wgAllowRealName = true; diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index bc4a824965..3536597a84 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -610,7 +610,7 @@ function wfMsgForContentNoTrans( $key ) { /** * Get a message from the language file, for the UI elements * - * @deprecated in 1.18; use wfMessage() + * @deprecated since 1.18; use wfMessage() */ function wfMsgNoDB( $key ) { wfDeprecated( __FUNCTION__ ); @@ -622,7 +622,7 @@ function wfMsgNoDB( $key ) { /** * Get a message from the language file, for the content * - * @deprecated in 1.18; use wfMessage() + * @deprecated since 1.18; use wfMessage() */ function wfMsgNoDBForContent( $key ) { wfDeprecated( __FUNCTION__ ); @@ -660,7 +660,7 @@ function wfMsgReal( $key, $args, $useDB = true, $forContent = false, $transform /** * This function provides the message source for messages to be edited which are *not* stored in the database. * - * @deprecated in 1.18; use wfMessage() + * @deprecated since 1.18; use wfMessage() * @param $key String */ function wfMsgWeirdKey( $key ) { @@ -3174,7 +3174,7 @@ function wfBoolToStr( $value ) { /** * Load an extension messages file * - * @deprecated in 1.16, warnings in 1.18, remove in 1.20 + * @deprecated since 1.16, warnings in 1.18, remove in 1.20 * @codeCoverageIgnore */ function wfLoadExtensionMessages() { @@ -3268,7 +3268,7 @@ function wfWaitForSlaves( $maxLag = false, $wiki = false ) { /** * Used to be used for outputting text in the installer/updater - * @deprecated Warnings in 1.19, removal in 1.20 + * @deprecated since 1.18, warnings in 1.19, remove in 1.20 */ function wfOut( $s ) { wfDeprecated( __METHOD__ ); diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 866cbecd5c..c2434d8278 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -109,7 +109,7 @@ class SpecialPage { * an associative record to $wgSpecialPages. This avoids autoloading SpecialPage. * * @param $page SpecialPage - * @deprecated in 1.7, warnings in 1.17, might be removed in 1.20 + * @deprecated since 1.7, warnings in 1.17, might be removed in 1.20 */ static function addPage( &$page ) { wfDeprecated( __METHOD__ ); diff --git a/includes/User.php b/includes/User.php index 0a7915057b..93ff7df909 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2355,8 +2355,8 @@ class User { /** * Get the current skin, loading it if required * @return Skin The current skin - * @todo: FIXME : need to check the old failback system [AV] - * @deprecated Use ->getSkin() in the most relevant outputting context you have + * @todo FIXME : need to check the old failback system [AV] + * @deprecated since 1.18 Use ->getSkin() in the most relevant outputting context you have */ function getSkin() { return RequestContext::getMain()->getSkin(); diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 1510e042bd..ba90e10e3e 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -369,7 +369,8 @@ class ApiParse extends ApiBase { } /** - * @deprecated No modern skin generates langlinks this way, please use langlinks data to generate your own html + * @deprecated since 1.18 No modern skin generates language links this way, please use language links + * data to generate your own HTML. */ private function languagesHtml( $languages ) { global $wgContLang, $wgHideInterlanguageLinks;