Page MenuHomePhabricator

Allow us to prefix repo's in search
Closed, DeclinedPublic

Description

Steps to reproduce

No steps tor reproduce since this is a feture request

We should add support for prefixing repos in the search too. So for example

MW callsign, we could prefix to Mediawiki/core so when searching for it it will work.

Or when searching mediawiki/ then it will show all repos under that prefix.

Event Timeline

@Danny_B yes but it dosent show all the results? Just shows one page.

We should be able to prefix the repos so we can easily find them under a prefix without needing to rename the repo from it's current name please.

What kind of "all results" you need?

When you search for something like mediawiki it should show all the repos with mediawiki- or mediawiki/ in there title please.

I might be wrong, but don't those links do that? Is there any particular repo you miss there?

@Danny_B nope, but would make it easy to update links like git.wikimedia.org/project/mediawiki.

@Danny_B yep, but dosent show all the results and not all repos have mediawiki prefix in them.

I think I lost the track of what exactly you need.

Examples (lists) welcome.

@Danny_B

An example would be

mediawiki/

should get everything under that prefix like mediawiki/extensions and mediawiki/skins and more with the mediawiki prefix please and not just show one page of results.

Lost in translation and vague task description... ;-)

There are two parts:

  1. repos naming
  2. search

The former needs to be set up, the latter works correctly as shown with the links above - all the current repos containing "mediawiki" are listed. To list really all mediawiki repos, they need to be renamed.

@Danny_B Oh, but I doint think ti would still show all the repos like that. but it would be really good if we didn't have to rename the repo's just add a prefix to the repo to make it more visable in searches. Like with project pages you can make your own # tag to make It easy to find it in the list (unless I am wrong).

@Paladox: Please ALWAYS follow https://mediawiki.org/wiki/How_to_report_a_bug and provide CLEAR steps to reproduce, expected outcome, and actual outcome, in separate sections. Steps to reproduce also do exist for feature requests. Thanks!

Aklapper triaged this task as Lowest priority.Jul 3 2016, 5:47 PM

If you type 'r mediawiki' into the global search field it will show you all repos with mediawiki in the name.

Not planning to investigate this; see last comment for a workaround