Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -19,6 +19,12 @@ |
20 | 20 | * @ingroup SpecialPage PageTranslation |
21 | 21 | */ |
22 | 22 | class SpecialPageTranslation extends SpecialPage { |
| 23 | + |
| 24 | + /** |
| 25 | + * @var User |
| 26 | + */ |
| 27 | + protected $user; |
| 28 | + |
23 | 29 | function __construct() { |
24 | 30 | parent::__construct( 'PageTranslation' ); |
25 | 31 | } |
Index: trunk/extensions/Translate/specials/SpecialTranslationStats.php |
— | — | @@ -737,6 +737,8 @@ |
738 | 738 | /// \arrayof{String,\bool} Cache used to count active users only once per day. |
739 | 739 | protected $usercache; |
740 | 740 | |
| 741 | + protected $codes, $groups; |
| 742 | + |
741 | 743 | public function __construct( FormOptions $opts ) { |
742 | 744 | parent::__construct( $opts ); |
743 | 745 | // This query is slow... ensure a lower limit. |
Index: trunk/extensions/Translate/Groups.php |
— | — | @@ -133,10 +133,16 @@ |
134 | 134 | protected $conf; |
135 | 135 | protected $namespace; |
136 | 136 | |
| 137 | + protected $groups; |
| 138 | + |
| 139 | + /** |
| 140 | + * @var StringMatcher |
| 141 | + */ |
| 142 | + protected $mangler; |
| 143 | + |
137 | 144 | protected function __construct() { } |
138 | 145 | |
139 | | - /** |
140 | | - * @static |
| 146 | + /* |
141 | 147 | * @param $conf |
142 | 148 | * |
143 | 149 | * @return MessageGroup |
— | — | @@ -498,6 +504,7 @@ |
499 | 505 | * @todo Currently unused? |
500 | 506 | */ |
501 | 507 | class MediaWikiMessageGroup extends FileBasedMessageGroup { |
| 508 | + |
502 | 509 | public function mapCode( $code ) { |
503 | 510 | return ucfirst( str_replace( '-', '_', parent::mapCode( $code ) ) ); |
504 | 511 | } |