Index: trunk/extensions/ApprovedRevs/ApprovedRevs.hooks.php |
— | — | @@ -284,7 +284,7 @@ |
285 | 285 | ApprovedRevs::addCSS(); |
286 | 286 | ApprovedRevs::loadMessages(); |
287 | 287 | global $wgOut; |
288 | | - $wgOut->addHTML( '<p class="approvedRevsEditWarning">' . wfMsg( 'approvedrevs-editwarning' ) . "</p>\n" ); |
| 288 | + $wgOut->addHTML( '<p class="approvedRevsEditWarning">' . wfMsg( 'approvedrevs-editwarning' ) . "</p>\n" ); |
289 | 289 | } |
290 | 290 | return true; |
291 | 291 | } |
— | — | @@ -303,7 +303,9 @@ |
304 | 304 | if ( ! empty( $approvedRevID ) && $approvedRevID != $latestRevID ) { |
305 | 305 | ApprovedRevs::addCSS(); |
306 | 306 | ApprovedRevs::loadMessages(); |
307 | | - $preFormHTML .= '<p><strong>' . wfMsg( 'approvedrevs-editwarning' ) . "</strong></p>\n"; |
| 307 | + $preFormHTML .= Xml::element ( 'p', |
| 308 | + array( 'style' => 'font-weight: bold' ), |
| 309 | + wfMsg( 'approvedrevs-editwarning' ) ) . "\n"; |
308 | 310 | } |
309 | 311 | return true; |
310 | 312 | } |
— | — | @@ -373,7 +375,7 @@ |
374 | 376 | * revision. If it's the approved revision also add on a "star" |
375 | 377 | * icon, regardless of the user. |
376 | 378 | */ |
377 | | - static function addApprovalLink( $historyPage, &$row , &$s ) { |
| 379 | + static function addApprovalLink( $historyPage, &$row , &$s ) { |
378 | 380 | $title = $historyPage->getTitle(); |
379 | 381 | if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
380 | 382 | return true; |