Index: trunk/extensions/CodeReview/modules/ext.codereview.styles.css |
— | — | @@ -121,6 +121,9 @@ |
122 | 122 | } |
123 | 123 | |
124 | 124 | /* Diffs */ |
| 125 | +.mw-codereview-diff { |
| 126 | + /* @noflip */direction: ltr; /* Source code is always LTR */ |
| 127 | +} |
125 | 128 | .mw-codereview-diff ins { |
126 | 129 | text-decoration: none; |
127 | 130 | color: green; |
Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -226,7 +226,8 @@ |
227 | 227 | $ret = "<fieldset><legend>" . wfMsgHtml( 'code-pathsearch-legend' ) . "</legend>" . |
228 | 228 | '<table width="100%"><tr><td>' . |
229 | 229 | Xml::openElement( 'form', array( 'action' => $wgScript, 'method' => 'get' ) ) . |
230 | | - Xml::inputlabel( wfMsg( "code-pathsearch-path" ), 'path', 'path', 55, $this->getPathsAsString() ) . |
| 230 | + Xml::inputlabel( wfMsg( "code-pathsearch-path" ), 'path', 'path', 55, |
| 231 | + $this->getPathsAsString(), array( 'dir' => 'ltr' ) ) . |
231 | 232 | ' ' . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . |
232 | 233 | $pager->getHiddenFields( array( 'path' ) ) . |
233 | 234 | Xml::closeElement( 'form' ) . |
— | — | @@ -434,7 +435,7 @@ |
435 | 436 | $options['status'] = $this->mView->mStatus; |
436 | 437 | } |
437 | 438 | |
438 | | - return Xml::openElement( 'div', array( 'title' => (string)$value ) ) . |
| 439 | + return Xml::openElement( 'div', array( 'title' => (string)$value, 'dir' => 'ltr' ) ) . |
439 | 440 | $this->mView->skin->link( |
440 | 441 | SpecialPage::getTitleFor( 'Code', $title ), |
441 | 442 | $wgLang->truncate( (string)$value, 50 ), |
Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | $paths .= $this->formatPathLine( $row->cp_path, $row->cp_action ); |
111 | 111 | } |
112 | 112 | if ( $paths ) { |
113 | | - $paths = "<div class='mw-codereview-paths'><ul>\n$paths</ul></div>\n"; |
| 113 | + $paths = "<div class='mw-codereview-paths' dir='ltr'><ul>\n$paths</ul></div>\n"; |
114 | 114 | } |
115 | 115 | $comments = $this->formatComments(); |
116 | 116 | $commentsLink = ""; |
— | — | @@ -216,7 +216,7 @@ |
217 | 217 | if ( $viewvc ) { |
218 | 218 | $url = htmlspecialchars( "$viewvc/?view=rev&revision=$rev" ); |
219 | 219 | $viewvcTxt = wfMsgHtml( 'code-rev-rev-viewvc' ); |
220 | | - $revText .= " (<a href=\"$url\" title=\"revision $rev\">$viewvcTxt</a>)"; |
| 220 | + $revText .= " (<a href=\"$url\" title=\"revision $rev\">$viewvcTxt</a>)".$wgLang->getDirMark(); |
221 | 221 | } |
222 | 222 | $links[] = $revText; |
223 | 223 | |