Page MenuHomePhabricator

MediaWiki ResourceLoader Overview
OpenPublic

Authored By
Jhernandez, Nov 6 2017
Tags
None
Referenced Files
F10645871: 488de7f-fe5f-4384-ac7d-a7c68345ce9a23 (1).png
Nov 6 2017, 6:34 PM

Mock History

Current Revision

Mock Description

How does front-end code get loaded into the browser?

Simple overview.

Clarifications

  • "Magic" is used as "Dynamic, runtime based, dependent on the state of your code/client cache/server state & extensions" to shorten things and in a humorous key.
  • This overview refers to the lifecycle in production mode (debug=false), in debug=true scripts are loaded separately and no magic URLs are composed.
  • See also https://www.mediawiki.org/wiki/ResourceLoader/Features#Front-end

In other places