Page MenuHomePhabricator

Cite > Re-use should ignore leading and trailing spaces
Closed, ResolvedPublic1 Estimate 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.

Details

Related Gerrit Patches:
mediawiki/extensions/Cite : masterTrim search queries in VE's reference search widget

Event Timeline

Restricted Application added a project: VisualEditor. · View Herald TranscriptJun 21 2016, 6:33 AM
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 closed this task as Resolved.Jun 22 2016, 4:34 AM
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.