[go: up one dir, main page]

Page MenuHomePhabricator

Disable $wgLegacyJavaScriptGlobals on all wikis
Closed, InvalidPublic

Description

$wgLegacyJavaScriptGlobals is false per default, and per the documentation there should be no need for it to be true. It's also disabled for mobile page views. Can we disable it for everything?

Event Timeline

Define "everything"? It appears to be false everywhere that we control and has also been removed as a feature in RL already several releases ago.

T72470: Remove legacy javascript globals
T35837: Set $wgLegacyJavaScriptGlobals = false by default

https://codesearch.wmcloud.org/search/?q=LegacyJavaScriptGlobals

Define "everything"? It appears to be false everywhere that we control and has also been removed as a feature in RL already several releases ago.

Appologies - filed this in a rush, and got the wrong setting. I meant $wgIncludeLegacyJavaScript. I will file a new task, to avoid confusion: T313139: Disable $wgIncludeLegacyJavaScript on all wikis