Currently, mentioning a task when editing a Phriction document does nothing, but it should perhaps build a mentioned in link on the Task instead. Like other objects do. It may make sense to either do this in edit notes of Phriction comments, or maybe both.
I use Maniphest to manage tasks which require creation and/or editing of Phriction wiki documents. When creating or editing a Phriction document there is a handy "Edit notes" field which can be used to briefly describe the nature of the change (much like a commit message might be used in Git).
Currently, authors/editors of Phriction wiki pages must return to the task driving the work and manually comment on what was done or close the issue, as appropriate. I have tried using task references in edit notes like so:
New page on retro encabulator maintenance (Fixes T1234)
However, the Fixes doesn't do what I expect: automatically close the referenced task. The same goes for Ref to refer to a task.
I searched the site to see if this feature existed or has been requested and my search came up empty. If am mistaken and this feature already exists or is in development, kindly close this task and point me in the right direction.