https links not searchable via Special:Linksearch
Closed, ResolvedPublic


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

bzimport added a subscriber: Unknown Object (MLST).
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 can be found with the [[Special:Linksearch]] function
but still not "https"-versions. Please add this.

And maybe also include some other protocols like:

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