Page MenuHomePhabricator

Include users’ “signature name” in @-mention autocomplete
Open, Needs TriagePublic

Description

Users sometimes use a different link label in their signature. E.g. [[User:Jdforrester|James F.]]. It is also used when users want to transliterate their name into a different script, e.g. [[User:קיפודנחש| קיפודנחש (aka kipod)]] (https://en.wikipedia.org/wiki/Talk:Hewlett-Packard_9100A?dtenable=1)

As the link label is the only thing that is shown on the page, this should be included in the list of autocomplete suggestions.

Event Timeline

As the link label is the only thing that is shown on the page, this should be included in the list of autocomplete suggestions.

@Esanders can you please confirm the below is accurate/exhaustive? I'm wanting to make sure I am understanding what this task is asking for.

Behavior

  1. Visit a page that contain comments written by someone (call them Person A) whose signatures contain link labels that are different from their username. E.g. https://en.wikipedia.org/wiki/Talk:Hewlett-Packard_9100A?dtenable=1
  2. Open the Reply Tool in a section where Person A has posted a comment. E.g. https://en.wikipedia.org/wiki/Talk:Hewlett-Packard_9100A#False_claim:_first_scientific_calculator
  3. Type @ to open the username suggestion list.

Current

  1. Notice the username suggestion list is populated with Person A's "given" username (read: Jdforrester)

Desired

  1. ✅ Notice the username suggestion list is populated with Person A's "customized" username link label (read: James F.)

Notice the username suggestion list is populated with Person A's "customized" username link label (read: James F.)

I'm not expressing an opinion on which name we show in the initial suggestion list when no search text has been entered, but it should at least be possible to search for both.

An example of where we do auto-complete based on multiple fields is our language selector.

I can search for "Spanish" or "español":

image.png (140×492 px, 6 KB)

image.png (138×494 px, 7 KB)