Improve 'insource' searching (Community Wishlist/W77)
The search facility needs to be improved to easily allow filtering via the insource search operator without the resort to complicated regex, maybe addition of a simple keyword to the string for each case.
The two cases I am thinking about are to exclude searching in URLs from the search that uses the insource search operator and to exclude parameters of templates from it
Another case would be to exclude file names.
Further would be a keyword to exclude categories. This would for example better enable searching just the file description on Commons (ie generally the |description= field of c:Template:Information).
Clarification I was thinking of making it easier to perform searches using the For example "insource:/fred/" search includes all of the text.
I was thinking that you need some key words that can be applied to the insource to exclude certain parts of the raw text in the search.
To exclude searching in URLs so it does not pick up "https:/www.other.com/freda/text", use something like "insource:/fred/nourl".
Similarly another for excluding file names where the search results would exclude "File:Freda_Briggs_at_London", use something like "insource:/fred/nofile".
For excluding Categories to avoid returning "Category:Fred Smith", use something like "insource:/fred/nocategory".
The other case would be to not return results where the string is part of the text of the parameters of a template call so {{template|para1=In freda/para2=London}} would not get returned, use something like "insource:/fred/notemplate".
If you want to exclude more than one of these cases you could use more than one qualifier or put in a second insource entry.
Unassigned
All users
This wish currently has 0 supporters. Voting for this wish is open until it is completed.