Index: trunk/extensions/ExtensionDistributor/ExtensionDistributor_body.php |
— | — | @@ -168,8 +168,8 @@ |
169 | 169 | $selected = 0; |
170 | 170 | |
171 | 171 | foreach ( $versions as $branchPath => $branchName ) { |
172 | | - $wgOut->addHTML( Xml::element( 'option', |
173 | | - array( 'value' => $branchPath, 'selected' => ( ( $selected == 1 ) ? 'selected' : '' ) ), $branchName ) . "\n" ); |
| 172 | + $wgOut->addHTML( Xml::option( $branchName, $branchPath, ($selected == 1) ) ); |
| 173 | + |
174 | 174 | $selected++; |
175 | 175 | } |
176 | 176 | $wgOut->addHTML( |