File talk:World map of total confirmed COVID-19 deaths per million people by country.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note. The file as it comes from OWID causes problems. The OWID logo overlaps the caption text. The line below the caption extends past the screen. So edits were made later to the file to make it work on Wikimedia. But the problems remain for many SVG files from OWID. See: Phab:T344564.

What map looks like in use[edit]

Click to enlarge it.

[[File:World map of total confirmed COVID-19 deaths per million people by country.svg|600px|none|border]]


--Timeshifter (talk) 13:45, 18 July 2020 (UTC)[reply]

Phabricator task[edit]

It links to:

There are more links, and updated info, in the Phabricator task comments. --Timeshifter (talk) 13:16, 5 September 2023 (UTC)[reply]

Changes in SVG code[edit]

Cmglee and Glrx. Please see: User:Timeshifter/Sandbox 12.

See diff.

Shows changes from source OWID file. To OWID file after edits by you two.

I noted that <syntaxhighlight> or <source> showed the weird quotes code, but <pre> did not.

I couldn't quickly find a language that showed any highlighting with <syntaxhighlight>. So I just used lang=wikitext to avoid an error message. What language would show any syntax highlighting with SVG code? See languages:

--Timeshifter (talk) 15:31, 7 September 2023 (UTC)[reply]

@Timeshifter:
For SVG code, I use <syntaxhighlight lang="xml">:
<text font-family="&#x27;Font A&#x27;, &#x27;Font B&#x27;, &#x27;Font C&#x27;">Hello, world</text>
A more common method of embedding quotation marks is font-family="'Font A', 'Font B', 'Font C'".
Glrx (talk) 18:59, 7 September 2023 (UTC)[reply]
Glrx. It only seems to work when I put it around some of the SVG image code. But not all of it. --Timeshifter (talk) 21:48, 7 September 2023 (UTC)[reply]
@Timeshifter: What does not work? Glrx (talk) 03:29, 8 September 2023 (UTC)[reply]
Glrx. The syntax highlighting. --Timeshifter (talk) 13:46, 8 September 2023 (UTC)[reply]
@Timeshifter: What is wrong with the syntax highlighting? Glrx (talk) 14:25, 8 September 2023 (UTC)[reply]
Glrx. It is not showing any highlighting when I put the SVG code for the whole image between the tags. Highlighting only shows up when there is less between the tags. Try it and you will see what I mean. --Timeshifter (talk) 15:03, 8 September 2023 (UTC)[reply]