Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -366,7 +366,7 @@ |
367 | 367 | global $wgOut, $wgContLang; |
368 | 368 | |
369 | 369 | $wgOut->setSubtitle( $this->user->getSkin()->link( $page->getTitle() ) ); |
370 | | - $wgOut->addModules( 'ext.translate' ); |
| 370 | + $wgOut->addModules( 'ext.translate.special.pagetranslation' ); |
371 | 371 | |
372 | 372 | $wgOut->addWikiMsg( 'tpt-showpage-intro' ); |
373 | 373 | |
Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -211,6 +211,11 @@ |
212 | 212 | 'styles' => 'resources/ext.translate.special.supportedlanguages.css', |
213 | 213 | ) + $resourcePaths; |
214 | 214 | |
| 215 | +$wgResourceModules['ext.translate.special.pagetranslation'] = array( |
| 216 | + 'styles' => 'resources/ext.translate.special.pagetranslation.css', |
| 217 | + 'position' => 'top', |
| 218 | +) + $resourcePaths; |
| 219 | + |
215 | 220 | $wgResourceModules['ext.translate.special.importtranslations'] = array( |
216 | 221 | 'scripts' => 'resources/ext.translate.special.importtranslations.js', |
217 | 222 | 'dependencies' => array( |
Index: trunk/extensions/Translate/resources/ext.translate.css |
— | — | @@ -34,17 +34,6 @@ |
35 | 35 | padding: 0.5em; |
36 | 36 | } |
37 | 37 | |
38 | | -.mw-tpt-sp-legend { |
39 | | - font-weight: bold; |
40 | | -} |
41 | | - |
42 | | -.mw-tpt-sp-content { |
43 | | - font-size: small; |
44 | | - padding-left: 2em; |
45 | | - padding-right: 2em; |
46 | | - padding-bottom: 2ex; |
47 | | -} |
48 | | - |
49 | 38 | /* First Steps '*/ |
50 | 39 | #translate-fs-signup { |
51 | 40 | display: block; |
— | — | @@ -59,4 +48,4 @@ |
60 | 49 | -moz-border-radius: 10px; |
61 | 50 | -webkit-border-radius: 10px; |
62 | 51 | background-color: #D1E231 !important; |
63 | | -} |
\ No newline at end of file |
| 52 | +} |
Index: trunk/extensions/Translate/resources/ext.translate.special.pagetranslation.css |
— | — | @@ -0,0 +1,18 @@ |
| 2 | +.mw-tpt-sp-section { |
| 3 | + padding-bottom: 3ex; |
| 4 | +} |
| 5 | + |
| 6 | +.mw-tpt-sp-section-type-old { |
| 7 | + opacity: 0.65; |
| 8 | +} |
| 9 | + |
| 10 | +.mw-tpt-sp-legend { |
| 11 | + font-weight: bold; |
| 12 | + font-size: 110%; |
| 13 | +} |
| 14 | + |
| 15 | +.mw-tpt-sp-content { |
| 16 | + font-size: small; |
| 17 | + padding-left: 2em; |
| 18 | + padding-right: 2em; |
| 19 | +} |
Property changes on: trunk/extensions/Translate/resources/ext.translate.special.pagetranslation.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 20 | + native |