https://bugzilla.wikimedia.org/show_bug.cgi?id=44570

--- Comment #21 from Krinkle <[email protected]> ---
(In reply to comment #20)
> Maybe a solution would be to change the way we're dealing with versioning.
> Instead of creating new directories for each wmfbranch, place all of them in
> the same (just upgrade over it) and on all links to it (images, scripts, all
> static content) use a query string that differentiates each version, like for
> example:
> 
> /static/skins/vector/images/search-ltr.png?1.21wmf1
> 

No.

First of all, that kind of path is not supported in MediaWiki core right not
(only prefix, not suffice), though support could be added.

The problem here is this:

* Cache older than the oldest wmfbranch we have can't access the resources
anymore
* We have cache older than the oldest wmfbranch.
* Or.. we removed wmf branches before the oldest cache expired.

By changing the url structure, we mask 1 problem and add a new problem. It
doesn't truly solve *any* problem

1) Files that haven't changed will appear to work, but:
2) files that have changed are either still a 404 error (if they were moved),
or worse, if they're incompatible they'll break all sorts of stuff (by applying
new styles to old content, or executing parts of a scripts etc.).

Even in the current system we occasionally get mis-match between versions
causing headers to stick out of boxes and things to look ugly on the site for
several weeks. We've had that and it wasn't fun.

Implementing something that by design will cause an unpredictable combination
of version mismatches is unacceptable.

Our problem is relatively simple, so lets try to solve it without all kinds of
weird workflow and infrastructure changes that introduce new problems.

I refer to comment 14, with additional thought that we may have to tighten up
certain caches if we don't want to keep them around that long.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to