Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -279,20 +279,12 @@ |
280 | 280 | * Page protection warning |
281 | 281 | * incl. log entries for these warnings |
282 | 282 | */ |
283 | | -div#mw-upload-deleted-warn, |
284 | | -div#mw-deleted-notice, |
285 | | -div#mw-recreate-deleted-warn, |
286 | | -div#mw-edit-semiprotectedpagewarning, |
287 | | -div#mw-edit-protectedpagewarning { |
| 283 | +div.mw-warning-with-logexcerpt { |
288 | 284 | padding: 3px; |
289 | 285 | margin-bottom: 3px; |
290 | 286 | border: 2px solid #2F6FAB; |
291 | 287 | } |
292 | | -div#mw-upload-deleted-warn ul li, |
293 | | -div#mw-deleted-notice ul li, |
294 | | -div#mw-recreate-deleted-warn ul li, |
295 | | -div#mw-edit-semiprotectedpagewarning ul li, |
296 | | -div#mw-edit-protectedpagewarning ul li { |
| 288 | +div.mw-warning-with-logexcerpt ul li { |
297 | 289 | font-size: 90%; |
298 | 290 | } |
299 | 291 | |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -842,7 +842,7 @@ |
843 | 843 | $count = $pager->getNumRows(); |
844 | 844 | if( $count > 0 ) { |
845 | 845 | $pager->mLimit = 10; |
846 | | - $wgOut->addHtml( '<div id="mw-deleted-notice">' ); |
| 846 | + $wgOut->addHtml( '<div class="mw-warning-with-logexcerpt">' ); |
847 | 847 | $wgOut->addWikiMsg( 'deleted-notice' ); |
848 | 848 | $wgOut->addHTML( |
849 | 849 | $loglist->beginLogEventsList() . |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1201,7 +1201,7 @@ |
1202 | 1202 | $noticeMsg = 'protectedpagewarning'; |
1203 | 1203 | $classes[] = 'mw-textarea-protected'; |
1204 | 1204 | } |
1205 | | - $wgOut->addHTML( "<div id='mw-edit-$noticeMsg'>\n" ); |
| 1205 | + $wgOut->addHTML( "<div class='mw-warning-with-logexcerpt'>\n" ); |
1206 | 1206 | $wgOut->addWikiMsg( $noticeMsg ); |
1207 | 1207 | LogEventsList::showLogExtract( $wgOut, 'protect', $this->mTitle->getPrefixedText(), '', 1 ); |
1208 | 1208 | $wgOut->addHTML( "</div>\n" ); |
— | — | @@ -2344,7 +2344,7 @@ |
2345 | 2345 | $count = $pager->getNumRows(); |
2346 | 2346 | if ( $count > 0 ) { |
2347 | 2347 | $pager->mLimit = 10; |
2348 | | - $out->addHtml( '<div id="mw-recreate-deleted-warn">' ); |
| 2348 | + $out->addHtml( '<div class="mw-warning-with-logexcerpt">' ); |
2349 | 2349 | $out->addWikiMsg( 'recreate-deleted-warn' ); |
2350 | 2350 | $out->addHTML( |
2351 | 2351 | $loglist->beginLogEventsList() . |
Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -1735,7 +1735,7 @@ |
1736 | 1736 | $loglist = new LogEventsList( $wgUser->getSkin(), $out ); |
1737 | 1737 | $pager = new LogPager( $loglist, 'delete', false, $filename ); |
1738 | 1738 | if( $pager->getNumRows() > 0 ) { |
1739 | | - $out->addHtml( '<div id="mw-upload-deleted-warn">' ); |
| 1739 | + $out->addHtml( '<div class="mw-warning-with-logexcerpt">' ); |
1740 | 1740 | $out->addWikiMsg( 'upload-wasdeleted' ); |
1741 | 1741 | $out->addHTML( |
1742 | 1742 | $loglist->beginLogEventsList() . |