Index: trunk/phase3/includes/SiteStats.php |
— | — | @@ -409,7 +409,7 @@ |
410 | 410 | * Do all updates and commit them. More or less a replacement |
411 | 411 | * for the original initStats, but without output. |
412 | 412 | * |
413 | | - * @param $database Boolean or DatabaseBase: |
| 413 | + * @param $database DatabaseBase|bool |
414 | 414 | * - Boolean: whether to use the master DB |
415 | 415 | * - DatabaseBase: database connection to use |
416 | 416 | * @param $options Array of options, may contain the following values |
Index: trunk/phase3/includes/parser/StripState.php |
— | — | @@ -11,6 +11,9 @@ |
12 | 12 | |
13 | 13 | protected $tempType, $tempMergePrefix; |
14 | 14 | |
| 15 | + /** |
| 16 | + * @param $prefix string |
| 17 | + */ |
15 | 18 | function __construct( $prefix ) { |
16 | 19 | $this->prefix = $prefix; |
17 | 20 | $this->data = array( |
— | — | @@ -170,6 +173,10 @@ |
171 | 174 | return $texts; |
172 | 175 | } |
173 | 176 | |
| 177 | + /** |
| 178 | + * @param $m |
| 179 | + * @return string |
| 180 | + */ |
174 | 181 | protected function mergeCallback( $m ) { |
175 | 182 | $key = $m[1]; |
176 | 183 | return "{$this->prefix}{$this->tempMergePrefix}-$key" . Parser::MARKER_SUFFIX; |
Index: trunk/phase3/languages/classes/LanguageBs.php |
— | — | @@ -30,9 +30,10 @@ |
31 | 31 | } |
32 | 32 | } |
33 | 33 | |
34 | | - # Convert from the nominative form of a noun to some other case |
35 | | - # Invoked with {{GRAMMAR:case|word}} |
36 | 34 | /** |
| 35 | + * Convert from the nominative form of a noun to some other case |
| 36 | + * Invoked with {{GRAMMAR:case|word}} |
| 37 | + * |
37 | 38 | * Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ |
38 | 39 | * |
39 | 40 | * @param $word string |
Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php |
— | — | @@ -383,8 +383,8 @@ |
384 | 384 | wfProfileOut( __METHOD__ ); |
385 | 385 | return true; |
386 | 386 | } |
387 | | - |
388 | | - private static function createCarrierOptionsFromWikiText() { |
| 387 | + |
| 388 | + private static function createCarrierOptionsFromWikiText() { |
389 | 389 | global $wgMemc; |
390 | 390 | wfProfileIn( __METHOD__ ); |
391 | 391 | $carrierOptionsWikiPage = wfMsg( 'zero-rated-mobile-access-carrier-options-wiki-page' ); |
Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccessTemplate.php |
— | — | @@ -21,8 +21,7 @@ |
22 | 22 | |
23 | 23 | /** |
24 | 24 | * Sets the value $value to $name |
25 | | - * @param $name |
26 | | - * @param $value |
| 25 | + * @param $options array |
27 | 26 | */ |
28 | 27 | public function setByArray( $options ) { |
29 | 28 | foreach ($options as $name => $value ) { |