Page MenuHomePhabricator

modes.js should be moved into a Context.js to be consistent with PHP
Closed, ResolvedPublic


The methods in modes.js are only used by features in alpha and beta yet loaded everywhere. We should stop binding to mw.mobileFrontend - and move it to a module called [Cc]ontext.js to be consistent with MobileContext. This should live in a separate ResourceLoader and any modules that live in beta/alpha should depend on this module so that we do not load the code in stable.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a subscriber: Jdlrobson.
bmansurov set Security to None.

Change 183754 had a related patch set uploaded (by Bmansurov):
Move modes.js into context.js


Change 183754 merged by jenkins-bot:
Move modes.js into context.js

Jdlrobson closed this task as Resolved.Jan 19 2015, 7:12 PM