HomePhabricator

Implement #yoloswag

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

Provenance
epriestleyAuthored on May 18 2013, 9:46 AM
Reviewer
btrahan
Differential Revision
Restricted Differential Revision
Parents
rP0ade49fbe4c6: Diffusion - fix T3215
Branches
Unknown
Tags
Unknown
Tasks
T3189: [feature request] Tag commits
T3190: Provide a way to reference projects in Remarkup

Event Timeline