Index: trunk/extensions/CodeReview/CodeReleaseNotes.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | |
57 | 57 | protected function showReleaseNotes() { |
58 | 58 | global $wgOut; |
59 | | - $linker = new CodeCommentLinkerWiki( $this->mRepo ); |
| 59 | + $linker = new CodeCommentLinkerHtml( $this->mRepo ); |
60 | 60 | $dbr = wfGetDB( DB_SLAVE ); |
61 | 61 | if ( $this->mEndRev ) { |
62 | 62 | $where = 'cr_id BETWEEN ' . intval( $this->mStartRev ) . ' AND ' . intval( $this->mEndRev ); |
— | — | @@ -93,9 +93,10 @@ |
94 | 94 | if ( $summary ) { |
95 | 95 | $summary = str_replace( "\n", "<br/>", $summary ); // Newlines -> <br/> |
96 | 96 | $wgOut->addHTML( "<li>" ); |
97 | | - $wikiText = $linker->link( $summary ) . " ''(" . htmlspecialchars( $row->cr_author ) . |
98 | | - ', ' . $linker->link( "r{$row->cr_id}" ) . ")''"; |
99 | | - $wgOut->addWikiText( $wikiText, false ); |
| 97 | + $wgOut->addHTML( |
| 98 | + $linker->link( $summary ) . " <i>(" . htmlspecialchars( $row->cr_author ) . |
| 99 | + ', ' . $linker->link( "r{$row->cr_id}" ) . ")</i>" |
| 100 | + ); |
100 | 101 | $wgOut->addHTML( "</li>\n" ); |
101 | 102 | } |
102 | 103 | } |