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)
Fri, Jun 6, 4:27 AM
Unknown Object (File)
Mon, Jun 2, 2:04 PM
Unknown Object (File)
Mon, Jun 2, 6:54 AM
Unknown Object (File)
May 7 2025, 9:38 PM
Unknown Object (File)
Apr 27 2025, 7:52 AM
Unknown Object (File)
Apr 25 2025, 9:57 PM
Unknown Object (File)
Apr 25 2025, 3:58 AM
Unknown Object (File)
Apr 23 2025, 6:29 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.