Index: trunk/extensions/Translate/lcadft/SpecialTranslatorSignup.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | ); |
48 | 48 | } |
49 | 49 | public function getDataModel() { |
50 | | - global $wgLCADFTContactMethods, $wgScript; |
| 50 | + global $wgLCADFTContactMethods; |
51 | 51 | |
52 | 52 | $m['username'] = array( |
53 | 53 | 'type' => 'info', |
— | — | @@ -129,18 +129,18 @@ |
130 | 130 | } |
131 | 131 | |
132 | 132 | protected function getOtherWikis() { |
133 | | - $wikis = array(); |
134 | 133 | if ( !class_exists( 'CentralAuthUser' ) ) { |
135 | 134 | return array(); |
136 | 135 | } |
137 | | - $globalUser = new CentralAuthUser( $this->getUser->getName() ); |
| 136 | + $globalUser = new CentralAuthUser( $this->getUser()->getName() ); |
138 | 137 | if ( !$globalUser->exists() ) { |
139 | 138 | return array(); |
140 | 139 | } |
141 | 140 | |
142 | | - $stuff = $this->mGlobalUser->queryAttached(); |
143 | | - foreach ( $suff as $dbname => $value ) { |
144 | | - $wikis[] = $dname; |
| 141 | + $wikis = array(); |
| 142 | + $stuff = $globalUser->queryAttached(); |
| 143 | + foreach ( $stuff as $dbname => $value ) { |
| 144 | + $wikis[] = $dbname; |
145 | 145 | } |
146 | 146 | |
147 | 147 | return array_combine( $wikis, $wikis ); |
Index: trunk/extensions/Translate/utils/StatsTable.php |
— | — | @@ -156,8 +156,8 @@ |
157 | 157 | /** |
158 | 158 | * Makes partial row from completion numbers |
159 | 159 | * @param $fuzzy int Number of fuzzy translations |
160 | | - * @param $translated in Number of non-fuzzy translations |
161 | | - * @param $total Total number of messages in this group |
| 160 | + * @param $translated int Number of non-fuzzy translations |
| 161 | + * @param $total int Total number of messages in this group |
162 | 162 | * @return string Html |
163 | 163 | */ |
164 | 164 | public function makeNumberColumns( $fuzzy, $translated, $total ) { |