Page MenuHomePhabricator

MobileFrontend beta dynamic post-search loading fails to initialize sections if previous page had no sections
Closed, ResolvedPublic

Description

Steps to reproduce:

  • go to http://test.m.wikipedia.org/
  • open navigation
  • open settings
  • select 'beta'
  • save settings
  • back to main page
  • type "golden" into search bar
  • select "Golden-crowned Sparrow" from list of search matches

Expected behavior:

  • sections on this page should be expandable

Actual behavior:

  • sections cannot be expanded by clicking, no arrows are visible

Note that the section toggles *do* work if you do the same steps starting from http://test.m.wikipedia.org/wiki/San_Francisco

It looks like the enabling is done from a 'mw-mf-page-loaded' event, but the handler doesn't get installed if the original page had no sections.


Version: unspecified
Severity: normal
URL: http://test.m.wikipedia.org/

Details

Reference
bz42485

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:02 AM
bzimport set Reference to bz42485.
bzimport added a subscriber: Unknown Object (MLST).

Note that this bug appears to be live on http://en.m.wikipedia.org/ etc right now, so it's probably not new to this week's deployment work.