Index: trunk/phase3/includes/specials/SpecialLinkSearch.php |
— | — | @@ -55,6 +55,7 @@ |
56 | 56 | $target = $request->getVal( 'target', $par ); |
57 | 57 | $namespace = $request->getIntorNull( 'namespace', null ); |
58 | 58 | |
| 59 | + $protocols_list = array(); |
59 | 60 | foreach( $wgUrlProtocols as $prot ) { |
60 | 61 | if ( $prot !== '//' ) { |
61 | 62 | $protocols_list[] = $prot; |