Index: trunk/phase3/includes/Article.php |
— | — | @@ -2598,11 +2598,16 @@ |
2599 | 2599 | |
2600 | 2600 | // If the page has a history, insert a warning |
2601 | 2601 | if( $hasHistory && !$confirm ) { |
| 2602 | + global $wgLang; |
2602 | 2603 | $skin = $wgUser->getSkin(); |
2603 | 2604 | $revisions = $this->estimateRevisionCount(); |
2604 | | - $wgOut->addHTML( '<strong>' . wfMsgExt( 'historywarning', array( 'parseinline' ), $revisions ) . ' ' . $skin->historyLink() . '</strong>' ); |
| 2605 | + $wgOut->addHTML( '<strong class="mw-delete-warning-revisions">' . |
| 2606 | + wfMsgExt( 'historywarning', array( 'parseinline' ), $wgLang->formatNum( $revisions ) ) .' ' . |
| 2607 | + $skin->historyLink() . |
| 2608 | + '</strong>' |
| 2609 | + ); |
2605 | 2610 | if( $bigHistory ) { |
2606 | | - global $wgLang, $wgDeleteRevisionsLimit; |
| 2611 | + global $wgDeleteRevisionsLimit; |
2607 | 2612 | $wgOut->wrapWikiMsg( "<div class='error'>\n$1</div>\n", |
2608 | 2613 | array( 'delete-warning-toobig', $wgLang->formatNum( $wgDeleteRevisionsLimit ) ) ); |
2609 | 2614 | } |