Page MenuHomePhabricator

Allow us to prefix repo's in search
Open, LowestPublic

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

Paladox created this task.Jul 2 2016, 3:35 PM
Restricted Application added subscribers: Zppix, TerraCodes, Aklapper. · View Herald TranscriptJul 2 2016, 3:35 PM

Not sure, if I understand properly, but did you want results like https://phabricator.wikimedia.org/diffusion/query/O4A5OqOrAT4l/#R (or https://phabricator.wikimedia.org/diffusion/query/J3tlzlBZSOsG/#R - including mediawiki itself)?

Paladox added a comment.EditedJul 2 2016, 5:21 PM

@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?

Paladox added a comment.EditedJul 2 2016, 5:33 PM

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

Danny_B added a comment.EditedJul 2 2016, 5:48 PM

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.

Paladox added a comment.EditedJul 2 2016, 7:01 PM

@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.

Restricted Application added a project: Upstream. · View Herald TranscriptJul 11 2016, 2:49 AM