Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -170,11 +170,13 @@ |
171 | 171 | $qc = $this->getLogQueryCond(); |
172 | 172 | # Show relevant lines from the deletion log |
173 | 173 | $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'delete' ) ) . "</h2>\n" ); |
174 | | - LogEventsList::showLogExtract( $wgOut, 'delete', $this->targetObj->getPrefixedText(), '', 25, $qc ); |
| 174 | + LogEventsList::showLogExtract( $wgOut, 'delete', |
| 175 | + $this->targetObj->getPrefixedText(), '', 25, $qc ); |
175 | 176 | # Show relevant lines from the suppression log |
176 | 177 | if( $wgUser->isAllowed( 'suppressionlog' ) ) { |
177 | 178 | $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'suppress' ) ) . "</h2>\n" ); |
178 | | - LogEventsList::showLogExtract( $wgOut, 'suppress', $this->targetObj->getPrefixedText(), '', 25, $qc ); |
| 179 | + LogEventsList::showLogExtract( $wgOut, 'suppress', |
| 180 | + $this->targetObj->getPrefixedText(), '', 25, $qc ); |
179 | 181 | } |
180 | 182 | } |
181 | 183 | |
— | — | @@ -293,7 +295,8 @@ |
294 | 296 | if ( $this->typeName == 'logging' ) { |
295 | 297 | $wgOut->addWikiMsg( 'logdelete-selected', $wgLang->formatNum( count($this->ids) ) ); |
296 | 298 | } else { |
297 | | - $wgOut->addWikiMsg( 'revdelete-selected', $this->targetObj->getPrefixedText(), count( $this->ids ) ); |
| 299 | + $wgOut->addWikiMsg( 'revdelete-selected', |
| 300 | + $this->targetObj->getPrefixedText(), count( $this->ids ) ); |
298 | 301 | } |
299 | 302 | |
300 | 303 | $bitfields = 0; |
— | — | @@ -734,7 +737,8 @@ |
735 | 738 | $logParams = $this->getLogParams( $params ); |
736 | 739 | // Actually add the deletion log entry |
737 | 740 | $log = new LogPage( $logType ); |
738 | | - $logid = $log->addEntry( $this->getLogAction(), $params['title'], $params['comment'], $logParams ); |
| 741 | + $logid = $log->addEntry( $this->getLogAction(), $params['title'], |
| 742 | + $params['comment'], $logParams ); |
739 | 743 | // Allow for easy searching of deletion log items for revision/log items |
740 | 744 | $log->addRelations( $field, $params['ids'], $logid ); |
741 | 745 | } |
— | — | @@ -1032,7 +1036,8 @@ |
1033 | 1037 | ), |
1034 | 1038 | array( |
1035 | 1039 | 'rc_this_oldid' => $this->revision->getId(), // condition |
1036 | | - 'rc_timestamp' => $dbw->timestamp( $this->revision->getTimestamp() ), // non-unique index |
| 1040 | + // non-unique timestamp index |
| 1041 | + 'rc_timestamp' => $dbw->timestamp( $this->revision->getTimestamp() ), |
1037 | 1042 | ), |
1038 | 1043 | __METHOD__ |
1039 | 1044 | ); |