dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3da2176
)
code formatting
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 28 Jul 2009 11:11:46 +0000
(11:11 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 28 Jul 2009 11:11:46 +0000
(11:11 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
ed84e18
..
6e80eb3
100644
(file)
--- a/
includes/PageHistory.php
+++ b/
includes/PageHistory.php
@@
-587,7
+587,8
@@
class PageHistory {
$this->mTitle->getFullUrl(),
wfTimestamp( TS_MW ),
'',
$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 );
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();
if( $rev->getComment() == '' ) {
global $wgContLang;
$ts = $rev->getTimestamp();
@@
-616,9
+618,9
@@
class PageHistory {
$wgContLang->date( $ts ),
$wgContLang->time( $ts ) );
} else {
$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,
return new FeedItem(
$title,
$text,
@@
-628,7
+630,8
@@
class PageHistory {
) ),
$rev->getTimestamp(),
$rev->getUserText(),
) ),
$rev->getTimestamp(),
$rev->getUserText(),
- $this->mTitle->getTalkPage()->getFullUrl() );
+ $this->mTitle->getTalkPage()->getFullUrl()
+ );
}
}
}
}