Page MenuHomePhabricator

Prevent objects from mentioning themselves
Closed, ResolvedPublic

Description

I don't think this really matters very much, but someone will probably complain about it sooner or later: you can mention an object in the object itself (e.g., mention T123 on T123). This works correctly and generates a transaction, but is probably never the intended result and feels redundant/silly. I think we could easily blacklist the current object (if it has a PHID) to avoid this.

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley assigned this task to btrahan.
epriestley raised the priority of this task from to Wishlist.
epriestley updated the task description. (Show Details)
epriestley added a project: Remarkup.
epriestley added a subscriber: epriestley.

Oh, T4036 actually has a good example of this that I didn't think of: when you quote a comment, we put the object name in the reply, which implicitly mentions it.

btrahan added a revision: Restricted Differential Revision.Sep 10 2014, 5:13 PM
btrahan added a commit: Restricted Diffusion Commit.

Closed by commit rP13834f140617.