Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -149,7 +149,6 @@ |
150 | 150 | $this->metaDataPrefix = $IP . '/maintenance/language'; |
151 | 151 | } |
152 | 152 | |
153 | | - |
154 | 153 | protected $prefix = ''; |
155 | 154 | public function getPrefix() { return $this->prefix; } |
156 | 155 | public function setPrefix( $value ) { $this->prefix = $value; } |
— | — | @@ -199,28 +198,6 @@ |
200 | 199 | |
201 | 200 | } |
202 | 201 | |
203 | | -class BranchedCoreMessageGroup extends CoreMessageGroup { |
204 | | - protected $label = 'MediaWiki messages ($1)'; |
205 | | - protected $id = 'core-$1'; |
206 | | - protected $path = '__BUG__'; |
207 | | - protected $meta = true; |
208 | | - protected $metaDataPath = '__BUG__'; |
209 | | - |
210 | | - public function __construct( $path, $branch, StringMatcher $mangler ) { |
211 | | - $this->path = $path; |
212 | | - $this->label = str_replace( '$1', $branch, $this->label ); |
213 | | - $this->id = Sanitizer::escapeId( str_replace( '$1', $branch, $this->id ) ); |
214 | | - $this->mangler = $mangler; |
215 | | - $this->prefix = $path . '/languages/messages'; |
216 | | - $this->metaDataPrefix = $path . '/maintenance/language'; |
217 | | - } |
218 | | - |
219 | | - public function setMetaDataPath( $path ) { |
220 | | - $this->prefix = $path . '/languages/messages'; |
221 | | - $this->metaDataPrefix = $path . '/maintenance/language'; |
222 | | - } |
223 | | -} |
224 | | - |
225 | 202 | class ExtensionMessageGroup extends MessageGroup { |
226 | 203 | /** |
227 | 204 | * Name of the array where all messages are stored, if applicable. |