r35915 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35914‎ | r35915 | r35916 >
Date:07:47, 5 June 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* This class isn't needed anymore
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -149,7 +149,6 @@
150150 $this->metaDataPrefix = $IP . '/maintenance/language';
151151 }
152152
153 -
154153 protected $prefix = '';
155154 public function getPrefix() { return $this->prefix; }
156155 public function setPrefix( $value ) { $this->prefix = $value; }
@@ -199,28 +198,6 @@
200199
201200 }
202201
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 -
225202 class ExtensionMessageGroup extends MessageGroup {
226203 /**
227204 * Name of the array where all messages are stored, if applicable.

Status & tagging log