http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70438
Revision: 70438 Author: siebrand Date: 2010-08-03 22:55:53 +0000 (Tue, 03 Aug 2010) Log Message: ----------- Remove obsolete file Commonist.php. Has been converted to new style message group. Removed Paths: ------------- trunk/extensions/Translate/groups/Commonist.php Deleted: trunk/extensions/Translate/groups/Commonist.php =================================================================== --- trunk/extensions/Translate/groups/Commonist.php 2010-08-03 22:53:36 UTC (rev 70437) +++ trunk/extensions/Translate/groups/Commonist.php 2010-08-03 22:55:53 UTC (rev 70438) @@ -1,42 +0,0 @@ -<?php - -class CommonistMessageGroup extends MessageGroupOld { - protected $label = 'Commonist'; - protected $id = 'out-commonist'; - # protected $type = ''; - - protected $fileDir = '__BUG__'; - - public function getPath() { return $this->fileDir; } - public function setPath( $value ) { $this->fileDir = $value; } - - - protected $optional = array( - ); - - protected $ignored = array( - ); - - public function getMessageFile( $code ) { - if ( $code == 'en' ) { - return 'messages.properties'; - } else { - if ( isset( $this->codeMap[$code] ) ) { - $code = $this->codeMap[$code]; - } - return "messages_$code.properties"; - } - } - - protected function getFileLocation( $code ) { - return $this->fileDir . '/' . $this->getMessageFile( $code ); - } - - public function getReader( $code ) { - return new JavaFormatReader( $this->getFileLocation( $code ) ); - } - - public function getWriter() { - return new JavaFormatWriter( $this ); - } -} _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs