Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -143,7 +143,7 @@ |
144 | 144 | function formatRow( $row ) { |
145 | 145 | wfProfileIn( __METHOD__ ); |
146 | 146 | |
147 | | - global $wgLang, $wgUser; |
| 147 | + global $wgLang, $wgUser, $wgContLang; |
148 | 148 | |
149 | 149 | $sk = $this->getSkin(); |
150 | 150 | $rev = new Revision( $row ); |
— | — | @@ -171,7 +171,7 @@ |
172 | 172 | } |
173 | 173 | $histlink='('.$sk->makeKnownLinkObj( $page, $this->messages['hist'], 'action=history' ) . ')'; |
174 | 174 | |
175 | | - $comment = $sk->revComment( $rev ); |
| 175 | + $comment = $wgContLang->getDirMark() . $sk->revComment( $rev ); |
176 | 176 | $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true ); |
177 | 177 | |
178 | 178 | if( $this->target == 'newbies' ) { |
Index: trunk/phase3/includes/SpecialLog.php |
— | — | @@ -350,7 +350,7 @@ |
351 | 351 | * @private |
352 | 352 | */ |
353 | 353 | function logLine( $s ) { |
354 | | - global $wgLang, $wgUser;; |
| 354 | + global $wgLang, $wgUser, $wgContLang; |
355 | 355 | $skin = $wgUser->getSkin(); |
356 | 356 | $title = Title::makeTitle( $s->log_namespace, $s->log_title ); |
357 | 357 | $time = $wgLang->timeanddate( wfTimestamp(TS_MW, $s->log_timestamp), true ); |
— | — | @@ -365,7 +365,7 @@ |
366 | 366 | } |
367 | 367 | |
368 | 368 | $userLink = $this->skin->userLink( $s->log_user, $s->user_name ) . $this->skin->userToolLinksRedContribs( $s->log_user, $s->user_name ); |
369 | | - $comment = $this->skin->commentBlock( $s->log_comment ); |
| 369 | + $comment = $wgContLang->getDirMark() . $this->skin->commentBlock( $s->log_comment ); |
370 | 370 | $paramArray = LogPage::extractParams( $s->log_params ); |
371 | 371 | $revert = ''; |
372 | 372 | // show revertmove link |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -366,6 +366,7 @@ |
367 | 367 | sort keys to work on Safari |
368 | 368 | * (bug 4530) Fix local name of Kurdish language |
369 | 369 | * (bug 10830) Fix local name Haitian Creole language |
| 370 | +* Fix comments in contributions and log pages for RTL languages |
370 | 371 | |
371 | 372 | == API changes since 1.10 == |
372 | 373 | |