From: Aaron Schulz Date: Tue, 28 Jul 2009 11:11:46 +0000 (+0000) Subject: code formatting X-Git-Tag: 1.31.0-rc.0~40673 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=e1b85b0a491316bb3cc7548c326325ac0393fb6a;p=lhc%2Fweb%2Fwiklou.git code formatting --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index ed84e189e7..6e80eb3275 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -587,7 +587,8 @@ class PageHistory { $this->mTitle->getFullUrl(), wfTimestamp( TS_MW ), '', - $this->mTitle->getTalkPage()->getFullUrl() ); + $this->mTitle->getTalkPage()->getFullUrl() + ); } /** @@ -601,12 +602,13 @@ class PageHistory { function feedItem( $row ) { $rev = new Revision( $row ); $rev->setTitle( $this->mTitle ); - $text = FeedUtils::formatDiffRow( $this->mTitle, - $this->mTitle->getPreviousRevisionID( $rev->getId() ), - $rev->getId(), - $rev->getTimestamp(), - $rev->getComment() ); - + $text = FeedUtils::formatDiffRow( + $this->mTitle, + $this->mTitle->getPreviousRevisionID( $rev->getId() ), + $rev->getId(), + $rev->getTimestamp(), + $rev->getComment() + ); if( $rev->getComment() == '' ) { global $wgContLang; $ts = $rev->getTimestamp(); @@ -616,9 +618,9 @@ class PageHistory { $wgContLang->date( $ts ), $wgContLang->time( $ts ) ); } else { - $title = $rev->getUserText() . wfMsgForContent( 'colon-separator' ) . FeedItem::stripComment( $rev->getComment() ); + $title = $rev->getUserText() . wfMsgForContent( 'colon-separator' ) . + FeedItem::stripComment( $rev->getComment() ); } - return new FeedItem( $title, $text, @@ -628,7 +630,8 @@ class PageHistory { ) ), $rev->getTimestamp(), $rev->getUserText(), - $this->mTitle->getTalkPage()->getFullUrl() ); + $this->mTitle->getTalkPage()->getFullUrl() + ); } }