A reverse proxy to serve gitlab.wikimedia.org files with appropriate
mime types so they can be imported by mw.loader.load
.
https://gitlab-content.toolforge.org/{REPO}
/-/raw/{PATH}
?mime={MIME}
&maxage={MAXAGE}
{REPO}
{PATH}
{MIME}
{MAXAGE}
max-age
HTTP cache control header to this many seconds. Errors are never cached. (optional)The URL format matches gitlab's internal URLs for raw content. This should help folks find the right URL by browsing in gitlab.wikimedia.org, changing the hostname to gitlab-content.toolforge.org, and adding the desired mime type specification.