HomePhabricator

init: Fix checks for required skin elements to avoid false positives

Authored by matmarex on Apr 26 2017, 5:20 PM.

Description

init: Fix checks for required skin elements to avoid false positives

  • Do not try to load the editor on protected pages, or if the user doesn't have permission to edit pages.
  • Move the check for required DOM elements after the check for pages without the editor (T162411) and after DOM ready (T163307).

Bug: T162411
Bug: T163307
Change-Id: I8149694ba8155682701f2cda6ca212d60f446caa
(cherry picked from commit a02e68374e2911b21baccdd2fe7539ac4a1e355c)

Details

Committed
matmarexMay 2 2017, 10:33 AM
Parents
rEVED88f319192633: tests: MWInternalLinkAnnotation getFragment
Branches
Unknown
Tags
Unknown
ChangeId
I8149694ba8155682701f2cda6ca212d60f446caa