Index: trunk/phase3/includes/Article.php |
— | — | @@ -1213,8 +1213,16 @@ |
1214 | 1214 | } |
1215 | 1215 | wfRunHooks( 'ShowMissingArticle', array( $this ) ); |
1216 | 1216 | # Show delete and move logs |
1217 | | - LogEventsList::showLogExtract( $wgOut, array( 'delete', 'move' ), |
1218 | | - $this->mTitle->getPrefixedText(), '', 10, array( "log_action != 'revision'" ), false, 'moveddeleted-notice'); |
| 1217 | + LogEventsList::showLogExtract( |
| 1218 | + $wgOut, |
| 1219 | + array( 'delete', 'move' ), |
| 1220 | + $this->mTitle->getPrefixedText(), |
| 1221 | + '', |
| 1222 | + 10, |
| 1223 | + array( "log_action != 'revision'" ), |
| 1224 | + false, |
| 1225 | + array( 'moveddeleted-notice' ) |
| 1226 | + ); |
1219 | 1227 | |
1220 | 1228 | # Show error message |
1221 | 1229 | $oldid = $this->getOldID(); |
— | — | @@ -2548,7 +2556,11 @@ |
2549 | 2557 | if( $latest === false ) { |
2550 | 2558 | $wgOut->showFatalError( wfMsgExt( 'cannotdelete', array( 'parse' ) ) ); |
2551 | 2559 | $wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) ); |
2552 | | - LogEventsList::showLogExtract( $wgOut, 'delete', $this->mTitle->getPrefixedText() ); |
| 2560 | + LogEventsList::showLogExtract( |
| 2561 | + $wgOut, |
| 2562 | + 'delete', |
| 2563 | + $this->mTitle->getPrefixedText() |
| 2564 | + ); |
2553 | 2565 | return; |
2554 | 2566 | } |
2555 | 2567 | |
— | — | @@ -2756,7 +2768,11 @@ |
2757 | 2769 | |
2758 | 2770 | $wgOut->addHTML( $form ); |
2759 | 2771 | $wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) ); |
2760 | | - LogEventsList::showLogExtract( $wgOut, 'delete', $this->mTitle->getPrefixedText() ); |
| 2772 | + LogEventsList::showLogExtract( |
| 2773 | + $wgOut, |
| 2774 | + 'delete', |
| 2775 | + $this->mTitle->getPrefixedText() |
| 2776 | + ); |
2761 | 2777 | } |
2762 | 2778 | |
2763 | 2779 | /** |
— | — | @@ -2784,7 +2800,11 @@ |
2785 | 2801 | if( $error == '' ) { |
2786 | 2802 | $wgOut->showFatalError( wfMsgExt( 'cannotdelete', array( 'parse' ) ) ); |
2787 | 2803 | $wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) ); |
2788 | | - LogEventsList::showLogExtract( $wgOut, 'delete', $this->mTitle->getPrefixedText() ); |
| 2804 | + LogEventsList::showLogExtract( |
| 2805 | + $wgOut, |
| 2806 | + 'delete', |
| 2807 | + $this->mTitle->getPrefixedText() |
| 2808 | + ); |
2789 | 2809 | } else { |
2790 | 2810 | $wgOut->showFatalError( $error ); |
2791 | 2811 | } |