HomePhabricator

Send blob to everyone
7b9682d0059cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Send blob to everyone

As before, we need to send the Page Previews blob that logged out users
can enable/disable previews.

Changes:

  • Unconditionally add the ext.popups RL module to the output.
  • Send the value of Popups\PopupsContext#isEnabledByUser to the client as $wgPopupsIsEnabledByUser.
  • Make mw.popups#isEnabled return $wgPopupsIsEnabledByUser if the user is logged in.

Bug: T146889
Change-Id: Id2ccfaa81a327e222fff400f4a5f22f96c99ea31

Details

Provenance
phuedxAuthored on Dec 21 2016, 12:35 PM
Parents
rEPOP3c5515c0b797: Vary cog click behavior
Branches
Unknown
Tags
Unknown
References
refs/changes/00/328500/8
ChangeId
Id2ccfaa81a327e222fff400f4a5f22f96c99ea31