Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -76,11 +76,11 @@ |
77 | 77 | 'translate-edit-goto-list' => 'Back to the list', |
78 | 78 | |
79 | 79 | 'translate-magic-pagename' => 'Extended MediaWiki translation', |
80 | | - 'translate-magic-help' => 'You can translate special pages aliases, magic words, skin names and namespace names. |
| 80 | + 'translate-magic-help' => 'You can translate special pages aliases, magic words and namespace names. |
81 | 81 | |
82 | 82 | Special page aliases and magic words can have multiple translations. |
83 | 83 | Translations are separated by a comma (,). |
84 | | -Skin names and namespaces can have only one translation. |
| 84 | +Namespaces can have only one translation. |
85 | 85 | |
86 | 86 | In namespace translations <tt>$1 talk</tt> is special. <tt>$1</tt> is replaced with sitename (for example <tt>{{SITENAME}} talk</tt>). |
87 | 87 | If it is not possible in your language to form valid expression without changing sitename, please contact a developer. |
— | — | @@ -103,7 +103,6 @@ |
104 | 104 | |
105 | 105 | 'translate-magic-special' => 'Special page aliases', |
106 | 106 | 'translate-magic-words' => 'Magic words', |
107 | | - 'translate-magic-skin' => 'Skin names', |
108 | 107 | 'translate-magic-namespace' => 'Namespace names', |
109 | 108 | |
110 | 109 | 'translationchanges' => 'Translation changes', |
Index: trunk/extensions/Translate/SpecialMagic.php |
— | — | @@ -9,7 +9,6 @@ |
10 | 10 | /** Message prefix for translations */ |
11 | 11 | const MSG = 'translate-magic-'; |
12 | 12 | |
13 | | - const MODULE_SKIN = 'skin'; |
14 | 13 | const MODULE_MAGIC = 'words'; |
15 | 14 | const MODULE_SPECIAL = 'special'; |
16 | 15 | const MODULE_NAMESPACE = 'namespace'; |
— | — | @@ -17,7 +16,6 @@ |
18 | 17 | /** List of supported modules */ |
19 | 18 | private $aModules = array( |
20 | 19 | self::MODULE_SPECIAL, |
21 | | - self::MODULE_SKIN, |
22 | 20 | self::MODULE_NAMESPACE, |
23 | 21 | self::MODULE_MAGIC |
24 | 22 | ); |
— | — | @@ -138,9 +136,6 @@ |
139 | 137 | case self::MODULE_MAGIC: |
140 | 138 | $o = new MagicWordsCM( $this->options['language'] ); |
141 | 139 | break; |
142 | | - case self::MODULE_SKIN: |
143 | | - $o = new SkinNamesCM( $this->options['language'] ); |
144 | | - break; |
145 | 140 | case self::MODULE_NAMESPACE: |
146 | 141 | $o = new NamespaceCM( $this->options['language'] ); |
147 | 142 | break; |
— | — | @@ -623,21 +618,6 @@ |
624 | 619 | |
625 | 620 | } |
626 | 621 | |
627 | | -class SkinNamesCM extends ComplexMessages { |
628 | | - protected $id = SpecialMagic::MODULE_SKIN; |
629 | | - protected $elementsInArray = false; |
630 | | - protected $databaseMsg = 'sp-translate-data-SkinNames'; |
631 | | - |
632 | | - public function __construct( $code ) { |
633 | | - parent::__construct( $code ); |
634 | | - $this->data['Mediawiki Core'] = array( |
635 | | - 'var' => 'skinNames', |
636 | | - 'file' => Language::getMessagesFileName( '%CODE%' ), |
637 | | - 'code' => false, |
638 | | - ); |
639 | | - } |
640 | | -} |
641 | | - |
642 | 622 | class MagicWordsCM extends ComplexMessages { |
643 | 623 | protected $id = SpecialMagic::MODULE_MAGIC; |
644 | 624 | protected $firstMagic = true; |