From e1b85b0a491316bb3cc7548c326325ac0393fb6a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 28 Jul 2009 11:11:46 +0000 Subject: [PATCH] code formatting --- includes/PageHistory.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) 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() + ); } } -- 2.20.1