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

           Summary: Math hashes should include versioning to allow sensible
                    updates
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: texvc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
            Blocks: 15057


Currently, if there's been a behavior change in texvc which affects rendering,
there's basically no way to re-render the image / HTML for some given input
that's been previously rendered.

This makes it very difficult to clean up after bugs. :(

A couple of possibilities:

1) Embed a version number into the input and output hashes; bump the version
number on any breaking change. Old entries will just not get used anymore...
but with no garbage collection we'll end up doubling our disk usage for each
version. :P

2) Embed a version number into the input hash, but *not* the output hash.
Update files and purge from squids when they change. May require users to do a
force-reload sometimes to see the new file. [Also may have problems with our
current caching system for math.]

While we're at it, it wouldn't hurt to change the has fields from raw binary to
hex, which is much easier to work with. :P

[Also consider plotting garbage collection, though...]


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to