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
F17807293: D19683.id47034.diff
Fri, Jul 25, 2:46 PM
F17759132: D19683.diff
Tue, Jul 22, 6:06 PM
F17621287: D19683.id.diff
Wed, Jul 9, 9:44 PM
F17618745: D19683.diff
Wed, Jul 9, 6:19 PM
F17608155: D19683.id47036.diff
Wed, Jul 9, 4:27 AM
Unknown Object (File)
Jun 6 2025, 4:27 AM
Unknown Object (File)
Jun 2 2025, 2:04 PM
Unknown Object (File)
Jun 2 2025, 6:54 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
Branch
wiki2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20845
Build 28354: Run Core Tests
Build 28353: arc lint + arc unit

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.