Index: trunk/phase3/skins/monobook/rtl.css |
— | — | @@ -160,8 +160,8 @@ |
161 | 161 | margin-right: 13.6em; |
162 | 162 | border-left: 0; |
163 | 163 | border-right: 1px solid #fabd23; |
164 | | -} |
165 | | -* html #column-content { |
| 164 | +} |
| 165 | +* html #column-content { |
166 | 166 | float: none; |
167 | 167 | margin-left: 0; |
168 | 168 | margin-right: 0; |
— | — | @@ -231,3 +231,10 @@ |
232 | 232 | html > body div#bodyContent ul#filetoc { |
233 | 233 | display: block; |
234 | 234 | } |
| 235 | + |
| 236 | +#sv-ext, #sv-hooks { |
| 237 | +direction:rtl; |
| 238 | +} |
| 239 | +.sv-ext-authors { |
| 240 | +direction:ltr; |
| 241 | +} |
Index: trunk/phase3/includes/specials/SpecialVersion.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | private $firstExtOpened = true; |
15 | 15 | |
16 | 16 | function __construct(){ |
17 | | - parent::__construct( 'Version' ); |
| 17 | + parent::__construct( 'Version' ); |
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | $this->outputHeader(); |
29 | 29 | |
30 | 30 | $wgOut->addHTML( '<div dir="ltr">' ); |
31 | | - $text = |
| 31 | + $text = |
32 | 32 | $this->MediaWikiCredits() . |
33 | 33 | $this->softwareInformation() . |
34 | 34 | $this->extensionCredits(); |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | wfProfileOut( __METHOD__ ); |
116 | 116 | return $version; |
117 | 117 | } |
118 | | - |
| 118 | + |
119 | 119 | /** |
120 | 120 | * Return a string of the MediaWiki version with a link to SVN revision if |
121 | 121 | * available |
— | — | @@ -162,8 +162,8 @@ |
163 | 163 | if ( isset( $extension['version'] ) ) { |
164 | 164 | $version = $extension['version']; |
165 | 165 | } |
166 | | - if ( isset( $extension['svn-revision'] ) && |
167 | | - preg_match( '/\$(?:Rev|LastChangedRevision|Revision): *(\d+)/', |
| 166 | + if ( isset( $extension['svn-revision'] ) && |
| 167 | + preg_match( '/\$(?:Rev|LastChangedRevision|Revision): *(\d+)/', |
168 | 168 | $extension['svn-revision'], $m ) ) { |
169 | 169 | $subVersion = 'r' . $m[1]; |
170 | 170 | } |
— | — | @@ -188,24 +188,24 @@ |
189 | 189 | |
190 | 190 | if ( count( $wgExtensionFunctions ) ) { |
191 | 191 | $out .= $this->openExtType( wfMsg( 'version-extension-functions' ) ); |
192 | | - $out .= '<tr><td colspan="3">' . $this->listToText( $wgExtensionFunctions ) . "</td></tr>\n"; |
| 192 | + $out .= '<tr><td colspan="3" style="direction:ltr">' . $this->listToText( $wgExtensionFunctions ) . "</td></tr>\n"; |
193 | 193 | } |
194 | 194 | |
195 | 195 | if ( $cnt = count( $tags = $wgParser->getTags() ) ) { |
196 | 196 | for ( $i = 0; $i < $cnt; ++$i ) |
197 | 197 | $tags[$i] = "<{$tags[$i]}>"; |
198 | 198 | $out .= $this->openExtType( wfMsg( 'version-parser-extensiontags' ) ); |
199 | | - $out .= '<tr><td colspan="3">' . $this->listToText( $tags ). "</td></tr>\n"; |
| 199 | + $out .= '<tr><td colspan="3" style="direction:ltr">' . $this->listToText( $tags ). "</td></tr>\n"; |
200 | 200 | } |
201 | 201 | |
202 | 202 | if( $cnt = count( $fhooks = $wgParser->getFunctionHooks() ) ) { |
203 | 203 | $out .= $this->openExtType( wfMsg( 'version-parser-function-hooks' ) ); |
204 | | - $out .= '<tr><td colspan="3">' . $this->listToText( $fhooks ) . "</td></tr>\n"; |
| 204 | + $out .= '<tr><td colspan="3" style="direction:ltr">' . $this->listToText( $fhooks ) . "</td></tr>\n"; |
205 | 205 | } |
206 | 206 | |
207 | 207 | if ( count( $wgSkinExtensionFunctions ) ) { |
208 | 208 | $out .= $this->openExtType( wfMsg( 'version-skin-extension-functions' ) ); |
209 | | - $out .= '<tr><td colspan="3">' . $this->listToText( $wgSkinExtensionFunctions ) . "</td></tr>\n"; |
| 209 | + $out .= '<tr><td colspan="3" style="direction:ltr">' . $this->listToText( $wgSkinExtensionFunctions ) . "</td></tr>\n"; |
210 | 210 | } |
211 | 211 | $out .= Xml::closeElement( 'table' ); |
212 | 212 | return $out; |
— | — | @@ -238,7 +238,7 @@ |
239 | 239 | return "<tr> |
240 | 240 | <td><em>$extension $version</em></td> |
241 | 241 | <td>$description</td> |
242 | | - <td>" . $this->listToText( (array)$author ) . "</td> |
| 242 | + <td class=\"sv-ext-authors\">" . $this->listToText( (array)$author ) . "</td> |
243 | 243 | </tr>\n"; |
244 | 244 | } |
245 | 245 | |
— | — | @@ -331,7 +331,7 @@ |
332 | 332 | } else { |
333 | 333 | if( is_object( $list[0] ) ) |
334 | 334 | $class = get_class( $list[0] ); |
335 | | - else |
| 335 | + else |
336 | 336 | $class = $list[0]; |
337 | 337 | return "($class, {$list[1]})"; |
338 | 338 | } |