Homec4science

Implement #yoloswag

Authored by epriestley <git@epriestley.com> on May 18 2013, 11:46.

Description

Implement #yoloswag

Summary:
Ref T3190. #shipit

Likely future work:

  • Extract project mentions from remarkup for ApplicationTransactions; this isn't relevant in any apps right now (but will be in Pholio before tooo long). Ref T3189.
  • Allow projects to have alternate short names. As written, this is fine for most projects ("Differential" is #differential) but not so great for other projects ("Phabricator Public & Media Relations" is #phabricator_public_media_relations). This also breaks refs when you rename a project. Better would be letting long project names have short aliases (#pr) as permitted alternatives.

Since this mention uses # instead of a letter, I needed to do a small amount of regexp gymnastics.

Test Plan:
you only #yolo once

{F43615}

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3189, T3190

Differential Revision: https://secure.phabricator.com/D5954

Details

Committed
epriestley <git@epriestley.com>May 18 2013, 11:46
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0ade49fbe4c6: Diffusion - fix T3215
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH79fa8e40cb11: Implement #yoloswag (authored by epriestley <git@epriestley.com>).May 18 2013, 11:46