Page MenuHomePhabricator

Fix Phriction rendering for initial install and 404 pages
ClosedPublic

Authored by epriestley on Sep 17 2018, 10:18 PM.
Tags
None
Referenced Files
F19923939: D19683.id.diff
Tue, Apr 7, 5:06 AM
F19909638: D19683.id47036.diff
Thu, Apr 2, 1:38 AM
F19095718: D19683.diff
Dec 4 2025, 5:54 AM
F18865000: D19683.id.diff
Nov 3 2025, 9:40 AM
F18855699: D19683.diff
Nov 1 2025, 6:20 AM
F18834048: D19683.id47036.diff
Oct 26 2025, 6:51 AM
F18834045: D19683.id47034.diff
Oct 26 2025, 6:51 AM
F18834044: D19683.id.diff
Oct 26 2025, 6:51 AM
Subscribers
None

Details

Summary

Depends on D19682. Ref T13202. We currently fatal when trying to render a timeline if:

  • an install is fresh, so there are no pages yet, and you look at "/w/"; or
  • you're looking at a Phriction page which doesn't exist (yet) like "/w/aadsflknadsflnf/".

Rendering a timeline and comment area doesn't make sense in these cases, so don't render them.

Test Plan

Hit both cases described above, got "new/empty page" prompts instead of fatals.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 18 2018, 3:03 AM
This revision was automatically updated to reflect the committed changes.