HomePhabricator

Show missing Phriction documents as red links, invisible documents with a lock

Tags
None
Referenced Files
F1221106: pasted_file
Apr 17 2016, 1:50 AM
Subscribers
None

Description

Show missing Phriction documents as red links, invisible documents with a lock

Summary: Ref T7691 (errata). This shows links to Phriction documents in red if they're missing, and links to Phriction documents in grey with a lock icon if the user doesn't have the correct permissions to see the document.

Test Plan:
Tested a bunch of different configurations:

[[ ./../ ]] Back to Main Document
[[ ./../subdocument_2]] Mmmm more documents
[[ ./../invisible_document]] Mmmm more documents

[[ ./../ | Explicit Title ]] Back to Main Document
[[ ./../subdocument_2 | Explicit Title ]] Mmmm more documents
[[ ./../invisible_document | Explicit Title ]] Mmmm more documents

[[ ]] Absolute link
[[ subdocument_2 ]] Absolute link
[[ invisible_document ]] Absolute link

[[ | Explicit Title ]] Absolute link
[[ subdocument_2 | Explicit Title ]] Absolute link
[[ invisible_document | Explicit Title ]] Absolute link

Got the expected result:

pasted_file (439×324 px, 38 KB)

Reviewers: epriestley, chad, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin

Maniphest Tasks: T7691

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

Details

Provenance
hach-queAuthored on Apr 16 2016, 3:02 AM
hach-quePushed on Apr 17 2016, 1:49 AM
Reviewer
Blessed Reviewers
Differential Revision
D15733: Show missing Phriction documents as red links, invisible documents with a lock
Parents
rPdd1023e5a8f8: Support relative links in Phriction
Branches
Unknown
Tags
Unknown
Tasks
T7691: Relative wiki links
Build Status
Buildable 11797
Build 14794: Run Core Tests