From: Aaron Schulz Date: Tue, 2 Jun 2009 09:40:46 +0000 (+0000) Subject: Break long lines X-Git-Tag: 1.31.0-rc.0~41545 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=28d7e44e2a93c1092cdd714d45415f51aeb37206;p=lhc%2Fweb%2Fwiklou.git Break long lines --- diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 554d025236..716631112a 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -170,11 +170,13 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { $qc = $this->getLogQueryCond(); # Show relevant lines from the deletion log $wgOut->addHTML( "

" . htmlspecialchars( LogPage::logName( 'delete' ) ) . "

\n" ); - LogEventsList::showLogExtract( $wgOut, 'delete', $this->targetObj->getPrefixedText(), '', 25, $qc ); + LogEventsList::showLogExtract( $wgOut, 'delete', + $this->targetObj->getPrefixedText(), '', 25, $qc ); # Show relevant lines from the suppression log if( $wgUser->isAllowed( 'suppressionlog' ) ) { $wgOut->addHTML( "

" . htmlspecialchars( LogPage::logName( 'suppress' ) ) . "

\n" ); - LogEventsList::showLogExtract( $wgOut, 'suppress', $this->targetObj->getPrefixedText(), '', 25, $qc ); + LogEventsList::showLogExtract( $wgOut, 'suppress', + $this->targetObj->getPrefixedText(), '', 25, $qc ); } } @@ -293,7 +295,8 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { if ( $this->typeName == 'logging' ) { $wgOut->addWikiMsg( 'logdelete-selected', $wgLang->formatNum( count($this->ids) ) ); } else { - $wgOut->addWikiMsg( 'revdelete-selected', $this->targetObj->getPrefixedText(), count( $this->ids ) ); + $wgOut->addWikiMsg( 'revdelete-selected', + $this->targetObj->getPrefixedText(), count( $this->ids ) ); } $bitfields = 0; @@ -734,7 +737,8 @@ abstract class RevDel_List { $logParams = $this->getLogParams( $params ); // Actually add the deletion log entry $log = new LogPage( $logType ); - $logid = $log->addEntry( $this->getLogAction(), $params['title'], $params['comment'], $logParams ); + $logid = $log->addEntry( $this->getLogAction(), $params['title'], + $params['comment'], $logParams ); // Allow for easy searching of deletion log items for revision/log items $log->addRelations( $field, $params['ids'], $logid ); } @@ -1032,7 +1036,8 @@ class RevDel_RevisionItem extends RevDel_Item { ), array( 'rc_this_oldid' => $this->revision->getId(), // condition - 'rc_timestamp' => $dbw->timestamp( $this->revision->getTimestamp() ), // non-unique index + // non-unique timestamp index + 'rc_timestamp' => $dbw->timestamp( $this->revision->getTimestamp() ), ), __METHOD__ );