HomePhabricator

Remove main page toggle check

Description

Remove main page toggle check

This is redundant.
page.getLeadSectionElement() will return null if the main page
is special casing and sections have not been wrapped.

Removing this check also allows toggling to work on pages where
users want to treat main pages like any other page.

Bug: T177337
Change-Id: Ic52fd1c9f6cc4f727ca52c871f29c76997e47f1d
(cherry picked from commit b0970a4a7ead61dfb7b70bbacf4c4c1c867b5151)

Details

Provenance
JdlrobsonAuthored on Feb 7 2018, 5:10 PM
Reception123Committed on Mar 17 2018, 12:16 PM
Parents
rSMIN7ee8663bf390: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
REL1_30
ChangeId
Ic52fd1c9f6cc4f727ca52c871f29c76997e47f1d