Page MenuHomePhabricator

include URLs in search indexing
Closed, DeclinedPublicFeature

Description

Gentlemen, it has occurred to me that Search does not look into the
href's of links, only the text.

I.e., if one links [http://neurdsbeurg.org/ Project "N"], one will
never find the word "neurdsbeurg" with MediaWiki's search.

Indeed, as has occurred on my wiki, if one finds that he needs to
change all the occurrences of "neurdsbeurg" to "teurdsbeurg", he is
s*hit out of luck, as they say, as there is no way to hunt them down,
at least from the search box.

Therefore, it seems reasonable to include URLs and parts thereof, in the Search indexing.

Google even has a whole keyword for URLs...


Version: 1.10.x
Severity: enhancement

Details

Reference
bz11037

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:53 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz11037.
bzimport added a subscriber: Unknown Object (MLST).

fearow00 wrote:

You can use the Linksearch special page (may be an extension) to list pages with a link to a certain site. I believe it supports partial URLs.

(In reply to comment #1)

You can use the Linksearch special page (may be an extension)

OK, I suppose I will have to wait till it beacomes standard, as I am
not mentally prepared to tinker further.

P.S., silly how on http://en.wikipedia.org/wiki/Special:Linksearch
they use a local example,

A wildcard may be used, at the start of the name only, for example
"*.wikipedia.org". To search links to pages on this site, start with
en.wikipedia.org/wiki/

for what is supposed to be an external search. Why don't they say "example.com"?

fearow00 wrote:

No subdomains of example.com to demonstrate with. And that extension is easy to add, just upload the files then add a line to config.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.

closing, as it seems like there is a workaround here