HomePhabricator

Support relative links in Phriction

Description

Support relative links in Phriction

Summary:
Resolves T7691. This turned out more complex than I really wanted, mainly because I needed to feed the slug information through to both the document renderer and the preview window that appears in the edit controller.

After this change, you can now create relative links in Phriction by doing [[ ./../some/relative/path ]]. Relative paths aren't handled anywhere else (they'll still render, but the dots are turned into a literal 'dot' as per existing behaviour).

Test Plan: Created some Phriction documents with relative links, saw them all link correctly.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin

Maniphest Tasks: T7691

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

Details

Provenance
hach-queAuthored on Apr 16 2016, 2:07 AM
hach-quePushed on Apr 16 2016, 3:15 AM
Reviewer
Blessed Reviewers
Differential Revision
D15732: Support relative links in Phriction
Parents
rPd96b6506d7bb: Disable repository read/write synchronization for now
Branches
Unknown
Tags
Unknown
Tasks
T7691: Relative wiki links
Build Status
Buildable 11784
Build 14772: Run Core Tests