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
Unknown Object (File)
Wed, Dec 4, 1:04 AM
Unknown Object (File)
Sun, Dec 1, 3:09 PM
Unknown Object (File)
Oct 23 2024, 2:32 PM
Unknown Object (File)
Oct 18 2024, 7:33 AM
Unknown Object (File)
Oct 17 2024, 1:24 PM
Unknown Object (File)
Sep 6 2024, 3:58 AM
Unknown Object (File)
Sep 2 2024, 11:01 PM
Unknown Object (File)
Sep 2 2024, 9:40 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.