Fix whitespace
authorSam Reed <reedy@users.mediawiki.org>
Tue, 10 Jan 2012 18:42:59 +0000 (18:42 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 10 Jan 2012 18:42:59 +0000 (18:42 +0000)
Fix/improve documentation

includes/SiteStats.php
includes/parser/StripState.php
languages/classes/LanguageBs.php

index e9137fe..4dc62da 100644 (file)
@@ -409,7 +409,7 @@ class SiteStatsInit {
         * Do all updates and commit them. More or less a replacement
         * for the original initStats, but without output.
         *
-        * @param $database Boolean or DatabaseBase:
+        * @param $database DatabaseBase|bool
         * - Boolean: whether to use the master DB
         * - DatabaseBase: database connection to use
         * @param $options Array of options, may contain the following values
index 357dc2c..aac2257 100644 (file)
@@ -11,6 +11,9 @@ class StripState {
 
        protected $tempType, $tempMergePrefix;
 
+       /**
+        * @param $prefix string
+        */
        function __construct( $prefix ) {
                $this->prefix = $prefix;
                $this->data = array(
@@ -170,6 +173,10 @@ class StripState {
                return $texts;
        }
 
+       /**
+        * @param $m
+        * @return string
+        */
        protected function mergeCallback( $m ) {
                $key = $m[1];
                return "{$this->prefix}{$this->tempMergePrefix}-$key" . Parser::MARKER_SUFFIX;
index c501b35..7c13037 100644 (file)
@@ -30,9 +30,10 @@ class LanguageBs extends Language {
                }
        }
 
-       # Convert from the nominative form of a noun to some other case
-       # Invoked with {{GRAMMAR:case|word}}
        /**
+        * Convert from the nominative form of a noun to some other case
+        * Invoked with {{GRAMMAR:case|word}}
+        *
         * Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ
         *
         * @param $word string