dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1822e25
)
Followup r104033, explicitly define the array
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 24 Nov 2011 16:28:19 +0000
(16:28 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 24 Nov 2011 16:28:19 +0000
(16:28 +0000)
includes/specials/SpecialLinkSearch.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialLinkSearch.php
b/includes/specials/SpecialLinkSearch.php
index
6ef3807
..
d3ab2f0
100644
(file)
--- a/
includes/specials/SpecialLinkSearch.php
+++ b/
includes/specials/SpecialLinkSearch.php
@@
-55,6
+55,7
@@
class LinkSearchPage extends QueryPage {
$target = $request->getVal( 'target', $par );
$namespace = $request->getIntorNull( 'namespace', null );
+ $protocols_list = array();
foreach( $wgUrlProtocols as $prot ) {
if ( $prot !== '//' ) {
$protocols_list[] = $prot;