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:
ce3bf5d
)
Remove garbage HTML, show user
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 5 May 2008 03:35:37 +0000
(
03:35
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 5 May 2008 03:35:37 +0000
(
03:35
+0000)
includes/SpecialNewpages.php
patch
|
blob
|
history
diff --git
a/includes/SpecialNewpages.php
b/includes/SpecialNewpages.php
index
f880ec2
..
3de2a67
100644
(file)
--- a/
includes/SpecialNewpages.php
+++ b/
includes/SpecialNewpages.php
@@
-316,8
+316,9
@@
class NewPagesForm {
protected function feedItemDesc( $row ) {
$revision = Revision::newFromId( $row->rev_id );
if( $revision ) {
- return '<p>' . htmlspecialchars( wfMsg( 'summary' ) ) . ': ' .
- htmlspecialchars( $revision->getComment() ) . "</p>\n<hr />\n<div>" .
+ return '<p>' . htmlspecialchars( $revision->getUserText() ) . ': ' .
+ htmlspecialchars( $revision->getComment() ) .
+ "</p>\n<hr />\n<div>" .
nl2br( htmlspecialchars( $revision->getText() ) ) . "</div>";
}
return '';