File:System language attribute bug demo copy.svg
Original file (SVG file, nominally 999 × 90 pixels, file size: 4 KB)
Captions
Summary[edit]
DescriptionSystem language attribute bug demo copy.svg |
English: A simple demonstration of the system language attribute bug described in https://bugzilla.gnome.org/show_bug.cgi?id=761482 |
|||
Date | ||||
Source | File:System_language_attribute_bug_demo.svg | |||
Author | PhiLiP, Glrx, Sarang | |||
SVG development InfoField | This typeset was created with a text editor. This typeset is translated using SVG switch elements: all translations are stored in the same file.
|
Licensing[edit]
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:21, 24 October 2017 | 999 × 90 (4 KB) | CParle (WMF) (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | SVG Tests for systemLanguage attribute handling copy |
---|---|
Image title | This SVG file illustrates several errors that exist in MediaWiki and librsvg as of December 2016.
On the WikiMedia Commons File: page, look inside the "Render this image in" dropdown box, and select a langtag to view. Choosing any langtag with an uppercase character fails. The generated URL should have a lowercase lang argument. This problem is in ImagePage.php; it does not lowercase the lang argument. If you manually edit the URL to lowercase the lang argument, then the display is better but still flawed.
These problems are all due to an incorrect systemLanguage matching algorithm in librsvg. The SVG file has all 16 capitalizations of en-US, so there are 16 entries for American English. This problem is in the animateFilterAndLang() method in SvgMetadataExtractor.php; line 270 does not lowercase systemLanguage. |
Width | 999 |
Height | 90 |