On Mar 20, 2013, at 11:59 AM, Niklas Laxström <[email protected]> wrote:

> On 1 March 2013 23:46, Chad <[email protected]> wrote:
>> Bug: 1234
>> Change-Id: Ia90.....
>> """
>> 
>> So when you do this, you're able to search for "bug:1234" via Gerrit.
>> By doing this, you're also removing it from the first line (which was
>> our old habit, mostly from SVN days), providing you more space to
>> be descriptive in that first line.
> 
> Few questions:
> 
> 1) Why is "Bug:43778" different from "bug:43778" when searching?
> 

Because it doesn't literally search for "Bug:123" (even though in our case it 
looks that way because the footer is also Bug: 123).

There is a search operator (bug), which is linked to a footer name (Bug:), a 
match ("\\#?\\d{1,6}") for the value that is to be indexed.
Just like project, owner, branch and topic are search operators linked to 
certain values. The operators are case sensitive and always lowercase by 
convention.

The footer being clickable is done independently.

-- Krinkle



_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to