https links not searchable via Special:Linksearch
Closed, ResolvedPublic

Description

https: links cannot be searched via Special:Linksearch; no results are returned.

This appears to be because the el_index field is blank for https entries.

Recommended fix: fill out el_index for https (and others?) as it is done for http.


Version: unspecified
Severity: normal
URL: http://wikimediafoundation.org/w/index.php?title=Special%3ALinksearch&target=https%3A%2F%2Fwww.paypal.com

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz8324.
brion created this task.Via LegacyDec 19 2006, 6:49 PM
bzimport added a comment.Via ConduitDec 19 2006, 6:54 PM

robchur wrote:

wfMakeUrlIndex() in includes/GlobalFunctions.php includes these lines:

if ( !$bits || $bits['scheme'] !== 'http' ) {
return false;
}

bzimport added a comment.Via ConduitMar 16 2007, 11:14 AM

walter wrote:

I was going to submit the same problem but have found this ticket.

On NL Wikipedia someone had posted a fake "donate to Wikipedia"-link in an article.
Url's to http://wwww.paypal.com can be found with the [[Special:Linksearch]] function
but still not "https"-versions. Please add this.

And maybe also include some other protocols like:
gopher://
ftp://
irc://

Raymond added a comment.Via ConduitMar 16 2007, 10:02 PM

Fixed with r20530. Searching now for http/https/ftp/irc/news available (gopher
seems me to old/not relevant).

Please note, that existing weblinks other than http are not indexed (el_index)
until the link is edited and the paged is saved again.

Raymond added a comment.Via ConduitMar 19 2007, 4:20 PM

Reworked with r20561. Works now for all protocols definded in $wgUrlProtocols
incl. email.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.