The image scaling task has been moved to Ubuntu 8.04 servers. Along the way, some software versions have changed:
ImageMagick upgraded from 6.2.8 to 6.3.7 (Q8 custom build) Rsvg from 2.14.0 to 2.22.2 (with security patch) FFmpeg: upgraded from patched r10291 to Ubuntu stock DjVu: upgraded from 3.5.17 to 3.5.20 Fonts: generally upgraded with more coverage
Originally I only tested the merged rsvg security patch to make sure it was secure, and indeed, rsvg-convert still can't read any local files. But it also can't read its input file specified on the command line. So I'm using stdin for now.
Keep an eye out for odd rendering of SVGs, e.g. bad font selection. Submit a bug if you see anything like that.
-- Tim Starling
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Tim Starling wrote:
The image scaling task has been moved to Ubuntu 8.04 servers. Along the way, some software versions have changed:
ImageMagick upgraded from 6.2.8 to 6.3.7 (Q8 custom build) Rsvg from 2.14.0 to 2.22.2 (with security patch) FFmpeg: upgraded from patched r10291 to Ubuntu stock DjVu: upgraded from 3.5.17 to 3.5.20 Fonts: generally upgraded with more coverage
Woo-hoo!
- -- brion
Tim Starling wrote:
The image scaling task has been moved to Ubuntu 8.04 servers. Along the way, some software versions have changed:
ImageMagick upgraded from 6.2.8 to 6.3.7 (Q8 custom build) Rsvg from 2.14.0 to 2.22.2 (with security patch) FFmpeg: upgraded from patched r10291 to Ubuntu stock DjVu: upgraded from 3.5.17 to 3.5.20 Fonts: generally upgraded with more coverage
Originally I only tested the merged rsvg security patch to make sure it was secure, and indeed, rsvg-convert still can't read any local files. But it also can't read its input file specified on the command line. So I'm using stdin for now.
Keep an eye out for odd rendering of SVGs, e.g. bad font selection. Submit a bug if you see anything like that.
-- Tim Starling
What about also moving ploticus? ...applying it the patch at bug 14727 to ensure it doesn't produce invalid XHTML. ;)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Platonides wrote:
What about also moving ploticus? ...applying it the patch at bug 14727 to ensure it doesn't produce invalid XHTML. ;)
Math and timeline rendering is done separately and doesn't have infrastructure set up for on-demand rendering. It could be done, though.
Either we'd need to be able to send arbitrary input on the URL (eww) or the tag extension handler could save the source data and a hash into a table, passing the hash on for later rendering.
(Math has part of this infrastructure in that it has a table with input hashes and rendered text output, but it doesn't include the full input data; further the "output hash" used to identify images and the output type are dependent on running the external processing first...)
- -- brion
It was just a polite remember that there is a patch to be applied to ploticus source on WMF servers (no answer from upstream, looks to ignore me :( ). Doing it while the custom builds of ImageMagick and Rsvg looked as the reasonable thing. The patch won't magically fix the already broken pages (the generated files seem to not be deleted on page edit) but will stop that source of invalid XHTML.
There's also a patch pending for the php code, but it's lower priority as a sysadmin is not needed for it (in fact, it was fixed and reverted).
Platonides wrote:
What about also moving ploticus?
It's already moved, we're using the standard Ubuntu package.
...applying it the patch at bug 14727 to ensure it doesn't produce invalid XHTML. ;)
That bug is not severe enough to justify the hassle of maintaining a fork. You should try to fix it upstream.
-- Tim Starling
Tim Starling wrote:
...applying it the patch at bug 14727 to ensure it doesn't produce invalid XHTML. ;)
That bug is not severe enough to justify the hassle of maintaining a fork. You should try to fix it upstream.
-- Tim Starling
Thanks for the answer, Tim. I sent the patch upstream just after creating it at the bug, but I haven't got an answer. Will try to poke them again.
wikitech-l@lists.wikimedia.org