On Mon, Nov 6, 2017 at 8:30 PM Gergo Tisza <gtisza(a)wikimedia.org> wrote:
Nice! Can you put it on Commons under a free license?
Of course!
https://commons.wikimedia.org/wiki/File:Frontend_resource_loading_in_MediaW…
debug=1 in the URL query disables the bottom third of the image; scripts
are loaded via direct source URLs. Not sure if
that's worth mentioning.
Right, this image is for the debug=false or production mode. Thanks, I've
updated the phab and commons description to clarify!
Also IIRC there are some other magic modules beyond startup where the URL
does not contain the module names (such as the code
for the gadgets the
user has enabled). And the page-specific settings (via
the MakeGlobalVariablesScript hook) just get inlined in the initial HTML.
Again not sure if that's worth mentioning.
Good insight, quite specific for the overview. I've linked to the
mediawiki.org docs that Krinkle mentioned in phab in the descriptions to
have a way into more in depth docs.
Thanks for the comments!
On Mon, Nov 6, 2017 at 10:39 AM, Joaquin Oltra Hernandez <
jhernandez(a)wikimedia.org> wrote:
Hi,
We were having a session where we talked about resource loading, code
entry
points for the front-end, and how things work on
MediaWiki, and we came
up
with a small pic to explain the lifecycle for
people newer to MediaWiki.
Maybe it could help some people get a better grasp about where files are
coming from and what why the load.php urls are as they are.
Please, forgive any missing details, and if there is something very wrong
I'd love to correct it, please let me know.
Also to clarify, "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.
Links:
- Phab:
https://phabricator.wikimedia.org/M232
- Imgur:
https://i.imgur.com/DYLqtQf.png
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l