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

Revision: 88290
Author:   siebrand
Date:     2011-05-17 08:46:29 +0000 (Tue, 17 May 2011)
Log Message:
-----------
Make @deprecated documentation more consistent (see: 
http://svn.wikimedia.org/doc/deprecated.html).

Modified Paths:
--------------
    trunk/phase3/includes/DefaultSettings.php
    trunk/phase3/includes/GlobalFunctions.php
    trunk/phase3/includes/SpecialPage.php
    trunk/phase3/includes/User.php
    trunk/phase3/includes/api/ApiParse.php

Modified: trunk/phase3/includes/DefaultSettings.php
===================================================================
--- trunk/phase3/includes/DefaultSettings.php   2011-05-17 08:32:10 UTC (rev 
88289)
+++ trunk/phase3/includes/DefaultSettings.php   2011-05-17 08:46:29 UTC (rev 
88290)
@@ -2985,7 +2985,7 @@
 
 /**
  * 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 @@
 
 /**
  * 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;

Modified: trunk/phase3/includes/GlobalFunctions.php
===================================================================
--- trunk/phase3/includes/GlobalFunctions.php   2011-05-17 08:32:10 UTC (rev 
88289)
+++ trunk/phase3/includes/GlobalFunctions.php   2011-05-17 08:46:29 UTC (rev 
88290)
@@ -610,7 +610,7 @@
 /**
  * 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 @@
 /**
  * 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 @@
 /**
  * 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 @@
 /**
  * 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 @@
 
 /**
  * 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__ );

Modified: trunk/phase3/includes/SpecialPage.php
===================================================================
--- trunk/phase3/includes/SpecialPage.php       2011-05-17 08:32:10 UTC (rev 
88289)
+++ trunk/phase3/includes/SpecialPage.php       2011-05-17 08:46:29 UTC (rev 
88290)
@@ -109,7 +109,7 @@
         * 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__ );

Modified: trunk/phase3/includes/User.php
===================================================================
--- trunk/phase3/includes/User.php      2011-05-17 08:32:10 UTC (rev 88289)
+++ trunk/phase3/includes/User.php      2011-05-17 08:46:29 UTC (rev 88290)
@@ -2355,8 +2355,8 @@
        /**
         * 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();

Modified: trunk/phase3/includes/api/ApiParse.php
===================================================================
--- trunk/phase3/includes/api/ApiParse.php      2011-05-17 08:32:10 UTC (rev 
88289)
+++ trunk/phase3/includes/api/ApiParse.php      2011-05-17 08:46:29 UTC (rev 
88290)
@@ -369,7 +369,8 @@
        }
 
        /**
-        * @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;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to