File:System language attribute bug demo.svg
Original file (SVG file, nominally 999 × 90 pixels, file size: 4 KB)
Captions
Summary[edit]
DescriptionSystem language attribute bug demo.svg |
English: A simple demonstration of the system language attribute bug described in https://bugzilla.gnome.org/show_bug.cgi?id=761482 |
Date | |
Source | Own work |
Author | PhiLiP |
SVG development InfoField | This vector image was created with a text editor. This file 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 | 18:58, 3 January 2017 | 999 × 90 (4 KB) | Glrx (talk | contribs) | remove failing data validation test. | |
16:25, 3 January 2017 | 999 × 90 (4 KB) | Glrx (talk | contribs) | try different formatting in desc. data attribute check re validation. | ||
18:42, 31 December 2016 | 999 × 90 (4 KB) | Glrx (talk | contribs) | Close path. Add title, description, and RDF. | ||
03:34, 31 December 2016 | 999 × 90 (2 KB) | Glrx (talk | contribs) | Add Serbian and Chinese tests | ||
03:03, 31 December 2016 | 999 × 90 (1 KB) | Glrx (talk | contribs) | Use red for first match. | ||
02:47, 31 December 2016 | 999 × 90 (1 KB) | Glrx (talk | contribs) | Add 3 German, 1 French, 1 Arabic so two character language match can be tried. | ||
02:23, 31 December 2016 | 999 × 90 (1 KB) | Glrx (talk | contribs) | all capitalizations of en-US to tickle Render this file in ... dropdown bug. | ||
08:41, 30 October 2016 | 999 × 90 (926 bytes) | Sarang (talk | contribs) | height reduced, for better comparison display | ||
16:18, 21 October 2016 | 512 × 358 (995 bytes) | Glrx (talk | contribs) | use transform on group | ||
16:14, 21 October 2016 | 512 × 358 (980 bytes) | Glrx (talk | contribs) | delete bad width/height. collapse groups with single element. rework langtags; include en-NOWHERE as first langtag. |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on test.wikipedia.org
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 |
---|---|
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 |