diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2005-02-22 06:04:03 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2005-02-22 06:04:03 +0000 |
commit | d6739493f7a99c58bc8dd017e48f0a4d7ac2acff (patch) | |
tree | 81aec939d7c58f51737e039d6f8b3afe2fc02d2a /includes/SpecialNewpages.php | |
parent | 0aa2629efc67b65d661df536f2c0f2fed59f3d64 (diff) | |
download | mediawikicore-d6739493f7a99c58bc8dd017e48f0a4d7ac2acff.tar.gz mediawikicore-d6739493f7a99c58bc8dd017e48f0a4d7ac2acff.zip |
War on cruft: commentBlock() usage, use a styled <span> for comments instead of mix of <em> and <i>
Remove some unused functions in contribs
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/7516
Diffstat (limited to 'includes/SpecialNewpages.php')
-rw-r--r-- | includes/SpecialNewpages.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index ca85ec4b7f7d..c19ff75c4f03 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -61,7 +61,6 @@ class NewPagesPage extends QueryPage { $ut = $result->user_text; $length = wfMsg( "nbytes", $wgLang->formatNum( $result->length ) ); - $c = $skin->formatComment($result->comment ); if ( $u == 0 ) { # not by a logged-in user $ul = $ut; @@ -83,9 +82,7 @@ class NewPagesPage extends QueryPage { $s = "{$d} {$link} ({$length}) . . {$ul}"; - if ( "" != $c && "*" != $c ) { - $s .= " <em>({$c})</em>"; - } + $s .= $skin->commentBlock( $result->comment ); return $s; } |