Page MenuHomePhabricator

Glrx
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 18 2016, 9:01 PM (138 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Glrx [ Global Accounts ]

Recent Activity

Apr 30 2019

Glrx added a comment to T221453: Add "newer" open fonts.

Looking at Meta SVG fonts.svg suggests:

Apr 30 2019, 11:38 PM · I18n, Wikimedia-SVG-rendering
Glrx added a comment to T221453: Add "newer" open fonts.

I've been thinking about this request. Adding more fonts seems like it must be a good idea, but many of the fonts above raise questions. Do we need Fira Sans, Linux Biolinum, Cardo, Junicode, Vollkorn, or Avocado? That a font is free is a requirement for Commons, but that does not mean that every free font should be loaded onto Commons. So I'm left to ponder the meaning of "Missing fonts".

Apr 30 2019, 8:32 PM · I18n, Wikimedia-SVG-rendering

Feb 15 2019

Glrx added a comment to T216282: [BUG] SVG Translate drops text nodes when there are tspan elements..

should be subtask of T215835

Feb 15 2019, 9:15 PM · SVG Translate Tool, Community-Tech
Glrx created T216282: [BUG] SVG Translate drops text nodes when there are tspan elements..
Feb 15 2019, 9:12 PM · SVG Translate Tool, Community-Tech
Glrx added a comment to T216207: Do not cache images once the user has left the tool.

There was a problem with File:999-percentages.svg when used on toolforge. I suspect toolforge cached a local copy of the file. I uploaded a new version of the file to Commons and purged the Commons File: page. I suspect the purge invalidates conventional WMF servers but not toolforge's cache. Toolforge probably thinks the file is still fresh, so it does not contact Commons to see if the file is still current.

Feb 15 2019, 12:21 AM · SVG Translate Tool, Community-Tech

Feb 14 2019

Glrx added a comment to T216178: [BUG] SVGTranslate does not render previews and shows error popup.

File:999-percentages.svg had issues.

Feb 14 2019, 11:50 PM · SVG Translate Tool
Glrx added a comment to T216178: [BUG] SVGTranslate does not render previews and shows error popup.

Original SVG preview shows. Changes do not show and trigger another popup.

Feb 14 2019, 8:11 PM · SVG Translate Tool
Glrx renamed T216178: [BUG] SVGTranslate does not render previews and shows error popup from [BUG] ... SVGTranslate complains that is is unable to display preview to [BUG] ... SVGTranslate complains that it is unable to display preview.
Feb 14 2019, 8:08 PM · SVG Translate Tool
Glrx added a comment to T216178: [BUG] SVGTranslate does not render previews and shows error popup.

Should be sub of T215835

Feb 14 2019, 8:06 PM · SVG Translate Tool
Glrx created T216178: [BUG] SVGTranslate does not render previews and shows error popup.
Feb 14 2019, 8:05 PM · SVG Translate Tool
Glrx added a comment to T213937: [BUG] Fix issues with skewed translation labels.

No, you should not overlook any transform.

Feb 14 2019, 7:52 PM · SVG Translate Tool
Glrx added a comment to T213939: [BUG] Fix weird color changing issues with PNGs generated in SVG Translate.

The file has text element stroke and fill properties countermanded by tspan elements. Generally, text should not be stroked in an SVG file unless one is looking for special effects. The "Pinna" rendering is the most dramatic for the bug. Look at "Pinna" in the tool's rendering; only the strokes are visible and the fill is none. On Commons, the text is not stroked but filled with saturated red.

Feb 14 2019, 7:07 PM · Community-Tech-Sprint, SVG Translate Tool, Community-Tech
Glrx added a comment to T213937: [BUG] Fix issues with skewed translation labels.

The bug looks like the tool scanned the switch element:

Feb 14 2019, 6:46 PM · SVG Translate Tool

Feb 13 2019

Glrx added a comment to T215836: [BUG] Word missing in rendered image.

The sustainable text starts out as

Feb 13 2019, 4:45 AM · Community-Tech-Sprint, Community-Tech, SVG Translate Tool

Feb 11 2019

Glrx added a comment to T215690: [BUG] Labels appear in different font size than the image on Commons.

I edited File:Human leg bones labeled.svg to clean it up and fix the leaders. Originally, the text elements looked something like:

Feb 11 2019, 9:40 PM · Community-Tech-Sprint, Community-Tech, SVG Translate Tool
Glrx added a comment to T215836: [BUG] Word missing in rendered image.

When the page loads, "sustainable" appears on the image over the radial fill, but then the image is overwritten and "sustainable" disappears.

Feb 11 2019, 9:19 PM · Community-Tech-Sprint, Community-Tech, SVG Translate Tool
Glrx added a comment to T215690: [BUG] Labels appear in different font size than the image on Commons.

Just a note about the original files.

Feb 11 2019, 9:10 PM · Community-Tech-Sprint, Community-Tech, SVG Translate Tool

Feb 10 2019

Glrx added a comment to T215690: [BUG] Labels appear in different font size than the image on Commons.

These issues arise from the underlying graphics, which are less than ideal for translation.

Feb 10 2019, 7:24 PM · Community-Tech-Sprint, Community-Tech, SVG Translate Tool

Jan 4 2019

Glrx added a comment to T40010: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Thank you for the progress update. I'm happy to hear the good news.

Jan 4 2019, 7:09 PM · TechCom-RFC, MediaWiki-File-management, Commons, Multimedia, Wikimedia-SVG-rendering

Jan 3 2019

Glrx added a comment to T18052: Support for multilingual SVGs.

The 380kB file in T212660

Jan 3 2019, 2:20 AM · Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T18052: Support for multilingual SVGs.
Jan 3 2019, 2:02 AM · Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T212660: ignored lang-switch for multilingual SVG Images.
Jan 3 2019, 2:01 AM · Android-app-Bugs, Wikipedia-Android-App-Backlog

Dec 3 2018

Glrx added a comment to T210960: installed fonts fallback to DejaVu Sans.

This ticket is similar T180923, which complained about fc-list and unknown fallbacks.

Dec 3 2018, 8:31 PM · Wikimedia-SVG-rendering

Dec 2 2018

Glrx added a comment to T210960: installed fonts fallback to DejaVu Sans.

My take is it is bad. The fc-list should be an accurate reflection of the fonts available to librsvg. I think that problem was raised in another librsvg ticket.

Dec 2 2018, 10:30 PM · Wikimedia-SVG-rendering

Nov 11 2018

Liuxinyu970226 awarded T207506: librsvg does not shift from bold to normal font-weight a Like token.
Nov 11 2018, 12:27 PM · Thumbor, Wikimedia-SVG-rendering, Upstream
Liuxinyu970226 awarded T200443: SVG text-anchor=end confused by tspan with following #text a Like token.
Nov 11 2018, 12:27 PM · Upstream, Wikimedia-SVG-rendering

Nov 2 2018

Glrx added a comment to T208578: SVG client side rendering for specific SVGs.

A better option would always serve small (say less than 20kB) SVG files.

Nov 2 2018, 7:31 PM · Performance, Wikimedia-SVG-rendering, Commons, Multimedia, Accessibility, MediaWiki-File-management

Oct 30 2018

Glrx added a comment to T64987: librsvg misinterpret quoted font family names that contain whitespaces.

Gnome closed issue 319 on 23 August 2018 with commit https://gitlab.gnome.org/GNOME/librsvg/commit/3d84acca9c11482cb0d2f75d379086be21bd4c91

Oct 30 2018, 4:39 PM · Thumbor, Operations, Upstream, Wikimedia-SVG-rendering

Oct 24 2018

Glrx updated the task description for T43423: CSS child selector not supported by rsvg.
Oct 24 2018, 10:25 PM · Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T154237: SVG image wikisyntax can't use "lang=zh-hant".

The good news: Gnome #131 and Gnome #256 have been closed.

Oct 24 2018, 10:20 PM · Upstream, I18n, Wikimedia-SVG-rendering, Chinese-Sites
Glrx updated the task description for T200443: SVG text-anchor=end confused by tspan with following #text.
Oct 24 2018, 9:16 PM · Upstream, Wikimedia-SVG-rendering
Glrx updated the task description for T65236: Chinese text in SVG files misplaced and clustered.
Oct 24 2018, 9:05 PM · Chinese-Sites, I18n, Wikimedia-SVG-rendering

Oct 19 2018

Glrx updated the task description for T207506: librsvg does not shift from bold to normal font-weight.
Oct 19 2018, 7:03 PM · Thumbor, Wikimedia-SVG-rendering, Upstream
Glrx added a project to T207506: librsvg does not shift from bold to normal font-weight: Wikimedia-SVG-rendering.
Oct 19 2018, 7:02 PM · Thumbor, Wikimedia-SVG-rendering, Upstream
Glrx added a project to T207506: librsvg does not shift from bold to normal font-weight: Upstream.
Oct 19 2018, 7:01 PM · Thumbor, Wikimedia-SVG-rendering, Upstream
Glrx created T207506: librsvg does not shift from bold to normal font-weight.
Oct 19 2018, 7:00 PM · Thumbor, Wikimedia-SVG-rendering, Upstream

Sep 13 2018

Glrx added a comment to T202771: [8 hours] Investigate ways to handle text breaking in SVGs.

The cited example is from File:Neural_crest.svg

Sep 13 2018, 11:59 PM · Community-Tech-Sprint, Spike, SVG Translate Tool, Commons, Community-Tech

Sep 6 2018

Glrx added a comment to T203444: Way to change word order?.

I'd close this as a dup of T201207 and T202771.

Sep 6 2018, 4:35 PM · Community-Tech, I18n, SVG Translate Tool

Sep 5 2018

Glrx added a comment to T202181: [Spike 4 hours] Investigate the work involved in defaulting SVGs to show wiki language if available.

There are several issues.

Sep 5 2018, 9:20 PM · SVG Translate Tool, Community-Tech-Sprint, Spike, Commons, Community-Tech

Aug 29 2018

Glrx added a comment to T202771: [8 hours] Investigate ways to handle text breaking in SVGs.

Ignoring subscripts, font shifts, and other exotica:

Aug 29 2018, 3:19 AM · Community-Tech-Sprint, Spike, SVG Translate Tool, Commons, Community-Tech

Aug 17 2018

Glrx added a comment to T201207: [Epic] SVG Translate wishlist project.

The Translation possible - SVG category is/was an invitation to use SVGTranslate on the file or to use a graphics editor to change the strings and upload to a new file name.

Aug 17 2018, 10:04 PM · SVG Translate Tool, Commons, Community-Wishlist-Survey-2017, Community-Tech
Glrx added a comment to T201207: [Epic] SVG Translate wishlist project.

@Glrx I understand that broken translation units are a big problem.

Translate SVG makes the desirable assumption that an SVG switch element holds exactly one translation unit. Each text element is one translations, and separate lines will be tspan child elements. That makes it easy to find translation units.

The tool we build will need to make an assumption too. Is this the right assumption to make?

Aug 17 2018, 9:04 PM · SVG Translate Tool, Commons, Community-Wishlist-Survey-2017, Community-Tech

Aug 16 2018

Glrx added a comment to T201207: [Epic] SVG Translate wishlist project.

Firstly, thank you so much for your thoughts, @Glrx! That's very helpful. I have some follow-up questions for you below:

Many files on Commons are not suitable for translation. Many SVG files need either problem detection or remediation, and that can be helped using the SVGDOM. A simpler approach would have somebody who knows the issues flag a file as a reasonable candidate for translation. If the file is simple, then a translation tool can work on it. Translate SVG tries to recognize some problem SVG files, but in the intervening years many other difficult-to-translate SVG files have appeared.

The SVG files on Commons have many quirks, and neither SVGTranslate nor Translate SVG expected many of them.

Can you list out some of the problems which come up? Examples would be very helpful. It'll help us be more cautious when making technical and design decisions.

Aug 16 2018, 12:50 AM · SVG Translate Tool, Commons, Community-Wishlist-Survey-2017, Community-Tech

Aug 15 2018

Glrx added a comment to T201207: [Epic] SVG Translate wishlist project.

Quiddy wrote:

Kelvin13 might have good advice. He wrote this page of related guidance (that I just found) https://commons.wikimedia.org/wiki/User:Kelvin13/SVG_text_tutorial , which I wish I had seen a few days ago when I was converting an SVG!

Aug 15 2018, 5:12 AM · SVG Translate Tool, Commons, Community-Wishlist-Survey-2017, Community-Tech

Aug 14 2018

Glrx added a comment to T201207: [Epic] SVG Translate wishlist project.

I commend Nikerabbit's brain dump. I'm having trouble paging all the details back in.

Aug 14 2018, 10:58 PM · SVG Translate Tool, Commons, Community-Wishlist-Survey-2017, Community-Tech

Aug 10 2018

Glrx updated subscribers of T194192: viewBox="0,0,620,472" should be the same as viewBox="0 0 620 472".

Adding TheDJ because this is similar to T201274

Aug 10 2018, 5:55 AM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Wikimedia-SVG-rendering, Multimedia, MediaWiki-File-management, Commons

Aug 9 2018

Glrx added a comment to T164275: SvgTranslate tool fails during OAuth callback.

Tried to do manual upload, but had problems.

Aug 9 2018, 11:20 PM · Tools
Glrx updated the task description for T201207: [Epic] SVG Translate wishlist project.
Aug 9 2018, 10:55 PM · SVG Translate Tool, Commons, Community-Wishlist-Survey-2017, Community-Tech

Aug 7 2018

Glrx renamed T201474: CORS, origin=*, and redirect from CORS, option, and redirect to CORS, origin=*, and redirect.
Aug 7 2018, 11:06 PM
Glrx created T201474: CORS, origin=*, and redirect.
Aug 7 2018, 11:05 PM

Aug 6 2018

Glrx added a comment to T164275: SvgTranslate tool fails during OAuth callback.

I ran SVGTranslate on [[File:Planetary transit.svg]] and keyed in some bogus translations.

Aug 6 2018, 7:32 PM · Tools

Aug 4 2018

Glrx updated the task description for T64987: librsvg misinterpret quoted font family names that contain whitespaces.
Aug 4 2018, 2:02 PM · Thumbor, Operations, Upstream, Wikimedia-SVG-rendering

Jul 26 2018

Glrx updated the task description for T200443: SVG text-anchor=end confused by tspan with following #text.
Jul 26 2018, 5:28 PM · Upstream, Wikimedia-SVG-rendering
Glrx added a project to T200443: SVG text-anchor=end confused by tspan with following #text: Upstream.
Jul 26 2018, 5:09 PM · Upstream, Wikimedia-SVG-rendering
Glrx created T200443: SVG text-anchor=end confused by tspan with following #text.
Jul 26 2018, 4:10 PM · Upstream, Wikimedia-SVG-rendering

Jul 22 2018

Glrx added a comment to T68551: CSS class are not inherited to child text/tspan elements in SVG (not general).

MW does not look at class, so bug is in librsvg. Not clear that it has been reported there.

Jul 22 2018, 6:08 PM · Upstream, Wikimedia-SVG-rendering
Glrx added a project to T68551: CSS class are not inherited to child text/tspan elements in SVG (not general): Upstream.
Jul 22 2018, 6:07 PM · Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T154237: SVG image wikisyntax can't use "lang=zh-hant".

librsvg mishandles hyphenated languages such as zh-Hans.

Jul 22 2018, 6:04 PM · Upstream, I18n, Wikimedia-SVG-rendering, Chinese-Sites
Glrx added a project to T154237: SVG image wikisyntax can't use "lang=zh-hant": Upstream.
Jul 22 2018, 6:01 PM · Upstream, I18n, Wikimedia-SVG-rendering, Chinese-Sites
Glrx added a project to T194582: filter="url(#a)" (feGaussianBlur) does not work in combination with transform="matrix(-1 0 0 -1 0 0)": Upstream.
Jul 22 2018, 5:59 PM · Upstream, Wikimedia-SVG-rendering
Glrx added a comment to T194582: filter="url(#a)" (feGaussianBlur) does not work in combination with transform="matrix(-1 0 0 -1 0 0)".

MW does not look at transform or filter, so this would be an upstream bug with librsvg. I do not know if it has been reported at Gnome.

Jul 22 2018, 5:57 PM · Upstream, Wikimedia-SVG-rendering

Jul 20 2018

Glrx added a comment to T25643: Allow alternative declaration of SVG fonts (font-family="'FontName-Bold'" in addition to: font-family="Font name" font-weight="bold").

I'll put a finer point on it: the suggestion would violate the SVG specification, so it should not be done.

Jul 20 2018, 5:54 PM · Wikimedia-SVG-rendering, Commons, Multimedia, MediaWiki-File-management

Jul 19 2018

Glrx added a comment to T25643: Allow alternative declaration of SVG fonts (font-family="'FontName-Bold'" in addition to: font-family="Font name" font-weight="bold").

I agree with Perhelion and would close this bug as won't fix. "DejaVuSans-Bold" is not a font-family, so we should not expect a font matcher to find it; we would expect a substitution. That substitution would not be bold because the user did not specify font-weight:bold. Maybe some font matchers will do better, but we should not expect that result.

Jul 19 2018, 6:37 PM · Wikimedia-SVG-rendering, Commons, Multimedia, MediaWiki-File-management

Jul 18 2018

Glrx added a comment to T190947: Liberation Sans font-family don't work in SVG rendering for SVG files created with Adobe Illustrator.

Also same bug as T64987.

Jul 18 2018, 9:52 PM · Wikimedia-SVG-rendering, Commons
Glrx added a comment to T184369: font-family="'font name'" and style="font-family:'font name'" does not work in SVG rendering.

Yes, close this as a dup of T64987.

Jul 18 2018, 9:49 PM · Wikimedia-SVG-rendering, Thumbor, Commons
Glrx added a comment to T184369: font-family="'font name'" and style="font-family:'font name'" does not work in SVG rendering.

https://gitlab.gnome.org/GNOME/librsvg/issues/95 GNOME #95.

Jul 18 2018, 9:12 PM · Wikimedia-SVG-rendering, Thumbor, Commons
Glrx added a comment to T190947: Liberation Sans font-family don't work in SVG rendering for SVG files created with Adobe Illustrator.

This is the same bug as T184369. AI is putting quotation marks around the font name, and librsvg gets confused by the marks.

Jul 18 2018, 9:00 PM · Wikimedia-SVG-rendering, Commons
Glrx added a comment to T40010: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Thanks for developing the code, and thanks for your comments and advice.

Jul 18 2018, 8:29 PM · TechCom-RFC, MediaWiki-File-management, Commons, Multimedia, Wikimedia-SVG-rendering
Glrx added a comment to T40010: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Glrx : If we only talk about renderingquality, we might should change to Inkscape.

Jul 18 2018, 3:53 PM · TechCom-RFC, MediaWiki-File-management, Commons, Multimedia, Wikimedia-SVG-rendering

Jul 17 2018

Glrx added a comment to T40010: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

At this point, we should not use resvg even if there were a Debian package.

Jul 17 2018, 11:42 PM · TechCom-RFC, MediaWiki-File-management, Commons, Multimedia, Wikimedia-SVG-rendering

Jul 8 2018

Glrx added a comment to T68672: SVG style element ignored if no type attribute is specified.

The W3C Validator isn't bad; it just isn't as clever as it once was.

Jul 8 2018, 11:13 PM · Multimedia, Commons, Upstream, Wikimedia-SVG-rendering

Jul 5 2018

Glrx added a comment to T194192: viewBox="0,0,620,472" should be the same as viewBox="0 0 620 472".

No matter what the priority is, it should be a one line fix to the regex at line 328:

Jul 5 2018, 8:58 PM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Wikimedia-SVG-rendering, Multimedia, MediaWiki-File-management, Commons

Jun 12 2018

Glrx added a comment to T184369: font-family="'font name'" and style="font-family:'font name'" does not work in SVG rendering.

Apparently an upstream bug in librsvg.

Jun 12 2018, 8:01 PM · Wikimedia-SVG-rendering, Thumbor, Commons

May 11 2018

Glrx added a comment to T194192: viewBox="0,0,620,472" should be the same as viewBox="0 0 620 472".

line 328: $viewBox = preg_split( '/\s+/', trim( $this->reader->getAttribute( 'viewBox' ) ) );
line 329: if ( count( $viewBox ) == 4 ) {

May 11 2018, 12:50 AM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Wikimedia-SVG-rendering, Multimedia, MediaWiki-File-management, Commons

May 10 2018

Glrx added a comment to T194192: viewBox="0,0,620,472" should be the same as viewBox="0 0 620 472".

JoKalliauer is correct.

May 10 2018, 4:07 PM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Wikimedia-SVG-rendering, Multimedia, MediaWiki-File-management, Commons

May 6 2018

Glrx added a comment to T193929: Raster image in an SVG not displayed (due to invalid MIME type "image/jpg").

data: should be followed with a MIME type.

May 6 2018, 12:09 AM · Multimedia, Commons, MediaWiki-File-management

Feb 13 2018

Glrx added a comment to T179859: Finnish wiki says "invalid wikicode" for lang-switched SVG, for no obvious reason.

There is nothing wrong with the SVG rendering. The wiki markup produces correct HTML with an img element that displays a Finnish PNG version of the i18n SVG. The image looks fine. The problem is that the fi.WP flagged the addition of the "|lang=fi" parameter as bad wiki markup even though the markup should be correct.

Feb 13 2018, 7:35 PM · MediaWiki-General-or-Unknown

Nov 15 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

The present bug report is about a few SVG problems. MW supports SVG files with switch element translations. That facility was added a few years ago. It had a few bugs (some not its fault), but it mostly worked. The bugs should be simple to fix. It should not be 250 lines of code.

Nov 15 2017, 9:48 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Will somebody who knows how to use gerrit please pull this abomination back.

Nov 15 2017, 5:31 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Nov 7 2017

Glrx added a comment to T179859: Finnish wiki says "invalid wikicode" for lang-switched SVG, for no obvious reason.

The translation tag is Finnish: "tag-virheellinen_wikikoodi"

Nov 7 2017, 2:15 AM · MediaWiki-General-or-Unknown

Nov 6 2017

Glrx created T179859: Finnish wiki says "invalid wikicode" for lang-switched SVG, for no obvious reason.
Nov 6 2017, 7:19 PM · MediaWiki-General-or-Unknown

Oct 27 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

That's why I said "modulo librsvg's limitations". Librsvg IETF langtag matching only uses the first subtag, so "zh-hans" and "zh-hant" are both treated as if they were "zh". If the "zh-hans" clauses always precede the "zh-hant" clauses, then only "zh-hans" will display.

Oct 27 2017, 4:07 AM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Oct 26 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Hyphenated langtags such as zh-hans are working again at least on en.WP and meta (well, modulo librsvg's limitations). I imagine that implies everywhere because they use the same URL host.

Oct 26 2017, 9:50 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Abandon this patch. It is still confused and far too complicated for issues.

Oct 26 2017, 8:08 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Oct 25 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Hahaha. It's just simplest not to mess with the case. I don't see any reason to change it

Oct 25 2017, 10:29 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Oct 20 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

"With this patch the file page UI will display a dropdown containing all the systemLanguage attributes from the SVG file."

Oct 20 2017, 8:14 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Please abandon 385352.

Oct 20 2017, 4:49 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Oct 13 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

My take on MW is that the system code uses lowercase langtags everywhere. If I look at language objects, then they will have lowercase langtags such as "zh-hant" rather than "zh-Hant". Only in the display of a langtag to the user is it made IETF canonical, and that is only because it is prettier.

Oct 13 2017, 8:22 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

ImagePage.php
line 1057 makes $curLang IETF canonical
line 1058 makes $defaultLang IETF canonical

Oct 13 2017, 4:41 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

I'm not a MW programmer and ignorant of gerrit.

Oct 13 2017, 4:16 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Sep 27 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

In times past, the Commons File: page for a switch-translated file would show a "default" language option along with the explicit systemLanguages used. I don't see that behavior anymore.

Sep 27 2017, 8:05 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Sep 13 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Yes, I noticed on 6 September that lang= zh-hans and zh-hant stopped working.

Sep 13 2017, 8:39 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

May 6 2017

Glrx added a comment to T36947: Incorrect text positioning in SVG rasterization (scale/transform; font-size; kerning).

Ooops, you are right. The text is not stroked.

May 6 2017, 2:27 PM · Thumbor, Operations, Wikimedia-SVG-rendering

May 5 2017

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Another twist is MediaWiki assumes the default langtag is en rather than use the xml:lang attribute on the svg element.

May 5 2017, 10:37 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T36947: Incorrect text positioning in SVG rasterization (scale/transform; font-size; kerning).

I don't know if it is relevant, but the Bosch Composition.svg text was stroked. Stroked text can grow or shrink depending on the stoke width and color.

May 5 2017, 10:09 PM · Thumbor, Operations, Wikimedia-SVG-rendering

Jan 8 2017

Glrx added a comment to T154866: svgtranslate tool.

@Mikey641 Please supply details of this bug. What file did you try to SVGTranslate? What did you enter and what happened? Did you get to page that has items to translate? Was it a manual or an OAuth upload? What was the target filename? Are you still trying to translate [[:File:Planetary transit.svg]] ?

Jan 8 2017, 5:25 PM · Tools

Dec 31 2016

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

Failure to canonize in animateFilterAndLang() means getAvailableLanguages() returns multiple spellings of equivalent langtags.

Dec 31 2016, 2:30 AM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management

Dec 29 2016

Glrx added a comment to T154132: SVG image files, switch systemLanguage, lang argument, and mixed-case IETF langtags.

getAvailableLanguages() should return lowercased langtags rather than arbitrary case. That the typical JSON convention. Without forcing lower case, the method could return an assortment of equivalent langtags.

Dec 29 2016, 11:47 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Multimedia-Team-Working-Board, Wikimedia-SVG-rendering, Chinese-Sites, Commons, Multimedia, MediaWiki-File-management
Glrx added a comment to T154256: the language-switcher on SVG file isn't working.

Problem 1 (Language switching at ImagePage.php) is improper handling of URL lang arg on Commons File pages. Selecting a language with mixed case langtag will fail. Same problem as T154132.

Dec 29 2016, 1:42 AM · Wikimedia-SVG-rendering

Dec 28 2016

Glrx updated subscribers of T154237: SVG image wikisyntax can't use "lang=zh-hant".

There is a problem, but it is not with wikisyntax but rather librsvg. See T154132 which shows that different PNG filenames are generated for zh-hans and zh-hant, so the implication is librsvg mishandled the lang argument. @Fomafix is correct that this is also discussed at T125710, but I don't know enough about librsvg to assess the details.

Dec 28 2016, 10:31 PM · Upstream, I18n, Wikimedia-SVG-rendering, Chinese-Sites