Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | |
62 | 62 | 'translationchanges' => 'Translation changes', |
63 | 63 | 'translationchanges-export' => 'export', |
64 | | - 'translationchanges-change' => '$1: [[Mediawiki:$2|$2]] by [[User:$3|$3]]', |
| 64 | + 'translationchanges-change' => '$1: $2 by $3', |
65 | 65 | |
66 | 66 | 'translate-page-no-such-language' => 'Invalid language code was supplied', |
67 | 67 | ); |
Index: trunk/extensions/Translate/SpecialTranslationChanges.php |
— | — | @@ -32,7 +32,9 @@ |
33 | 33 | #$cutoff_unixtime = $cutoff_unixtime - ($cutoff_unixtime % 86400); |
34 | 34 | $cutoff = $dbr->timestamp( $cutoff_unixtime ); |
35 | 35 | |
36 | | - $sql = "SELECT *, substring_index(rc_title, '/', -1) as lang FROM $recentchanges " . |
| 36 | + $fields = 'rc_title, rc_timestamp, rc_user_text'; |
| 37 | + |
| 38 | + $sql = "SELECT $fields, substring_index(rc_title, '/', -1) as lang FROM $recentchanges " . |
37 | 39 | "WHERE rc_timestamp >= '{$cutoff}' " . |
38 | 40 | "AND rc_namespace = 8 " . |
39 | 41 | "ORDER BY lang ASC, rc_timestamp DESC"; |
— | — | @@ -167,7 +169,7 @@ |
168 | 170 | |
169 | 171 | foreach ( $rows as $row ) { |
170 | 172 | $date = $wgLang->timeAndDate( $row->rc_timestamp, /* adj */ true, /* format */ true ); |
171 | | - $msg = wfMsgExt( self::MSG . 'change', array( 'parseinline' ), |
| 173 | + $msg = wfMsgExt( self::MSG . 'change', array( 'parsemag' ), |
172 | 174 | $date, wfEscapeWikiText($row->rc_title), wfEscapeWikiText($row->rc_user_text) |
173 | 175 | ); |
174 | 176 | $output .= Xml::tags( 'li', null, $msg ); |