Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -3460,10 +3460,10 @@ |
3461 | 3461 | if ( !isset( $functionsWarned[$function] ) ) { |
3462 | 3462 | $functionsWarned[$function] = true; |
3463 | 3463 | |
3464 | | - if ( $version && $component === false ) { |
| 3464 | + if ( $version ) { |
3465 | 3465 | global $wgDeprecationReleaseLimit; |
3466 | 3466 | |
3467 | | - if ( $wgDeprecationReleaseLimit ) { |
| 3467 | + if ( $wgDeprecationReleaseLimit && $component === false ) { |
3468 | 3468 | # Strip -* off the end of $version so that branches can use the |
3469 | 3469 | # format #.##-branchname to avoid issues if the branch is merged into |
3470 | 3470 | # a version of MediaWiki later than what it was branched from |