Index: trunk/extensions/SemanticWatchlist/specials/SpecialSemanticWatchlist.php |
— | — | @@ -397,14 +397,14 @@ |
398 | 398 | |
399 | 399 | $lines = array(); |
400 | 400 | |
| 401 | + if ( count( $deletions ) > 0 ) { |
| 402 | + $lines[] = Html::element( 'div', array( 'class' => 'swl-watchlist-deletions' ), wfMsg( 'swl-watchlist-deletions' ) ) . ' ' . implode( ', ', $deletions ); |
| 403 | + } |
| 404 | + |
401 | 405 | if ( count( $insertions ) > 0 ) { |
402 | 406 | $lines[] = Html::element( 'div', array( 'class' => 'swl-watchlist-insertions' ), wfMsg( 'swl-watchlist-insertions' ) ) . ' ' . implode( ', ', $insertions ); |
403 | 407 | } |
404 | 408 | |
405 | | - if ( count( $deletions ) > 0 ) { |
406 | | - $lines[] = Html::element( 'div', array( 'class' => 'swl-watchlist-deletions' ), wfMsg( 'swl-watchlist-deletions' ) ) . ' ' . implode( ', ', $deletions ); |
407 | | - } |
408 | | - |
409 | 409 | $html = Html::element( 'span', array( 'class' => 'swl-watchlist-prop' ), $property->getLabel() ); |
410 | 410 | |
411 | 411 | $html .= Html::rawElement( |