Page MenuHomePhabricator

Cite > Re-use should ignore leading and trailing spaces
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  • Copy contents for a ref, including an unnecessary leading space.
  • Paste it into Cite > Manual > Basic.
  • Go to Re-use.
  • Paste the ref into the search field, to find the ref you just created.

Result:

It's not there. You have to remove the leading space to get a match.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript

Change 295336 had a related patch set uploaded (by Esanders):
Trim search queries in VE's reference search widget

https://gerrit.wikimedia.org/r/295336

Change 295336 merged by jenkins-bot:
Trim search queries in VE's reference search widget

https://gerrit.wikimedia.org/r/295336

Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF set the point value for this task to 1.