Fix flaky MessageBlobStoreTest assertion failures
[lhc/web/wiklou.git] / includes / installer / WebInstallerOptions.php
index c62eb65..d798ea1 100644 (file)
@@ -175,7 +175,10 @@ class WebInstallerOptions extends WebInstallerPage {
                                        if ( isset( $info['url'] ) ) {
                                                $urlText = ' ' . Html::element( 'a', [ 'href' => $info['url'] ], '(more information)' );
                                        }
-                                       $attribs = [ 'data-name' => $ext ];
+                                       $attribs = [
+                                               'data-name' => $ext,
+                                               'class' => 'config-ext-input'
+                                       ];
                                        $labelAttribs = [];
                                        $fullDepList = [];
                                        if ( isset( $info['requires']['extensions'] ) ) {
@@ -331,7 +334,7 @@ class WebInstallerOptions extends WebInstallerPage {
                        foreach ( $screenshots as $shot ) {
                                $links[] = Html::element(
                                        'a',
-                                       [ 'href' => $shot ],
+                                       [ 'href' => $shot, 'target' => '_blank' ],
                                        $wgLang->formatNum( $counter++ )
                                );
                        }
@@ -341,7 +344,7 @@ class WebInstallerOptions extends WebInstallerPage {
                } else {
                        $link = Html::element(
                                'a',
-                               [ 'href' => $screenshots[0] ],
+                               [ 'href' => $screenshots[0], 'target' => '_blank' ],
                                wfMessage( 'config-screenshot' )->text()
                        );
                        return wfMessage( 'config-skins-screenshot', $name )->rawParams( $link )->escaped();