User talk:Timbaaa/Archive 2

From Wikipedia, the free encyclopedia

Archive 1Archive 2Archive 3

Graph extension

Hi Timbaaa, than you for your offer.

Some users would like to be able to make annotations on graph: I was thinking to add additional marks

- vertical / horizontal line at specific values
- rectangle shape for x,y data range

Requests and examples are here Template_talk:Graph:Chart#Vertical lines in Wikipedia charts Please check what would be best way to define it in Graph template parameters and in Vega JSON and figure out best default settings (color, transparency etc.). Base on this I will try to prepare code in module. --Pietrasagh (talk) 16:09, 9 August 2020 (UTC)

Pietrasagh, Doing... (That's actually my request.) - Timbaaa -> ping me 10:11, 10 August 2020 (UTC)
@Pietrasagh:,Made something have a look
{{Graph:Chart
| x =  1,2,3,4,5
| y1 = 2,4,0,1,3
| y2 = 2,3 , 4,-1 ,2 
|legend =
}}

Produces(JSON in source and here)

We need something like the following (JSON in source and here).

{{Graph:Chart
| x =  1,2,3,4,5
| y1 = 2,4,0,1,3
| y2 = 2,3 , 4,-1 ,2 
| legend =
| v1 = 2.3
| v1Title = Vertical line
| h1 = 1.6
| h1Title = Horizontal line
}}

I just appended the annotation values to `value` array in `data` property. Check the comments in lines 243 to 260 in the JSON. Can it be done with Lua? - Timbaaa -> ping me 08:06, 11 August 2020 (UTC)

Hi, yes this should work and can be done with Lua but only for `line` graph type. To have annotations independent of graph type it should be defined on separate `marks' group. To avoid changing to much of existing Lua code I think it would be good idea to define annotations coordinates `data` also in separate data set. Color for lines should should be fixes (e.g. as for axis) or defined separately (e.g. last element of `color` argument)
More information Extended content ...
Close

--Pietrasagh (talk) 09:25, 12 August 2020 (UTC)

Pietrasagh, You are right I forgot that big element(chart types). - Timbaaa -> ping me 06:39, 14 August 2020 (UTC)

Pietrasagh, I think the annotation marks should also be included in legends in order to specify what that line actually represents.

1
More information Extended content ...
Close
2
More information Extended content ...
Close

- Timbaaa -> ping me 07:38, 15 August 2020 (UTC)

Opacity has to be changed and stroke width has to be reduced for annotations. - Timbaaa -> ping me 07:40, 15 August 2020 (UTC)
It would be great if you could figure out optimal color/opacity and stroke width for line annotations. Maybe you have some good real life example for tests. I want to focus now on fixing problems with new logic for `showSymbol` after my last update. In those articles charts doesn't display symbols after update --Pietrasagh (talk) 08:42, 15 August 2020 (UTC)
Pietrasagh, If you haven't already figured out where it is causing problem for symbols. For one of the graphs from search,
Check the highlighted property, it should not be empty.

{"legends":[],"scales":[{"type":"linear","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":false,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":"category10"},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"symSize","range":[] }],"version":2,"marks":[{"type":"line","properties":{"hover":{"stroke":{"value":"red"}},"update":{"stroke":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"stroke":{"scale":"color","field":"series"},"strokeWidth":{"value":2.5}}},"from":{"data":"chart"}},{"type":"symbol","properties":{"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"size":{"scale":"symSize","field":"series"},"fill":{"scale":"color","field":"series"},"stroke":{"scale":"color","field":"series"},"shape":{"value":"circle"},"strokeWidth":{"value":0}}},"from":{"data":"chart"}}],"height":150,"axes":[{"type":"x","title":"Year","scale":"x","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false},{"type":"y","title":"Population","scale":"y","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":true}],"data":[{"format":{"parse":{"y":"integer","x":"integer"},"type":"json"},"name":"chart","values":[{"y":3490540,"series":"y","x":1963},{"y":4056995,"series":"y","x":1969},{"y":5661801,"series":"y","x":1980},{"y":7383097,"series":"y","x":1990},{"y":9885591,"series":"y","x":2000},{"y":13092666,"series":"y","x":2010}]}],"width":350}

- Timbaaa -> ping me 10:14, 15 August 2020 (UTC)

@Pietrasagh:Finalized with following:

  • 2 new fields in `data`- one for horizontal annotations, one for vertical annotations
  • 4 new fields in `marks` one for horizontal annotations(`line` and `text` types), one for vertical annotations(`line` and `text` types)

My initial usage request was for the following graph: to mark the dates of lockdown and openings, etc..,

Something like this

Another usage example is at Nationwide opinion polling for the 2020 Democratic Party presidential primaries#Polling aggregation - Timbaaa -> ping me 06:43, 16 August 2020 (UTC)

annotations test


Feel free to test new code. It's on German wiki. I'm still working on it. As always there are problems with bar charts.

Example is here de:Benutzer:Pietrasagh/Spielwiese2

{{Graph:Chart/Spielwiese2 |type = line |colors = #ffff5ba0, #641050ff, #ffaaff00,|x=0,1,2,3|y1=0,3.342,2.3423,5.32423|y2=1,2.342,4.63,2.32423|y3=3,1.342,2.63,6.32423|linewidths = 2,4,0|showSymbols = 5,8,10|symbolsShape = triangle_up, cross, banana |vannotatonsline = 1, 2, 3 |hannotatonsline = 4, 5, 6 |vannotatonslabel = label1, label2, label3 |hannotatonslabel = label4, label5, label6 }}

--Pietrasagh (talk) 20:28, 22 August 2020 (UTC)

Pietrasagh, Tested with few cases at User:Timbaaa/sandbox/2(with debug) and Template:Graph:Chart/testcases.
When attempting to use either one annotations, bugs appear:
  • When using v only - h annotation appear at `y:value=0`(since there is no data for mark in JSON).
  • When using h only - there is no `mark` properties for annotations in vegaJSON - Timbaaa -> ping me 02:52, 23 August 2020 (UTC)
Thanks for tests. Now it seems to work. Please see [User:Pietrasagh/sandbox2]] --Pietrasagh (talk) 08:31, 23 August 2020 (UTC)

The Signpost: 30 August 2020

Simon Munzu

You still have not corrected two inaccuracies about 'Simon Munzu' (me) that I brought to your attention about three months ago.

@Mia Abiekuti and Simon Munzu: I have replied to your query here.(Click the blue link). Please sign your messages on talk page by typing "~~~~" at the end of your message.  Timbaaa talk 01:47, 26 September 2020 (UTC)

The Signpost: 27 September 2020

  • Featured content: Life finds a Way
    Animals, sports, military, and science feature heavily in this month's best content.

The Signpost: 27 September 2020

  • Featured content: Life finds a Way
    Animals, sports, military, and science feature heavily in this month's best content.

Your help desk question

You did not get a response to this question. Did you find the answer somewhere else? If not, it sounds like a question for WP:VPT.— Vchimpanzee  talk contributions • 22:58, 28 September 2020 (UTC)

The Signpost: 1 November 2020

ArbCom 2020 Elections voter message

Hello! Voting in the 2020 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 7 December 2020. All eligible users are allowed to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2020 election, please review the candidates and submit your choices on the voting page. If you no longer wish to receive these messages, you may add {{NoACEMM}} to your user talk page. MediaWiki message delivery (talk) 02:58, 24 November 2020 (UTC)

The Signpost: 29 November 2020

  • Op-Ed: Re-righting Wikipedia
    Wikipedia deprecates more right-wing sources than left-wing sources ... but is it a problem?

The Signpost: 28 December 2020

  • Traffic report: 2020 wraps up
    Punks and heroes, losers and winners, the bereaved and the deceased – they're all here.

The Signpost: 31 January 2021

The Signpost: 28 February 2021

The Signpost: 28 March 2021

  • Obituary: Yoninah
    Barukh dayan ha-emet ("Blessed is the true judge.")

The Signpost: 25 April 2021

The Signpost: 25 April 2021

The Signpost: 25 April 2021

The Signpost: 27 June 2021

  • Obituary: SarahSV
    Requiescat in pace.

The Signpost: 25 July 2021

The Signpost: 29 August 2021

The Signpost: 26 September 2021

You have been pruned from the Wikipedia:WikiProject Tamil Nadu/Participants list.

Hi Timbaaa! You're receiving this notification because you were previously listed at Wikipedia:WikiProject Tamil Nadu/Participants, but you haven't made any edits to the English Wikipedia in over 1 year.

Because of your inactivity, you have been removed from the list. If you would like to resubscribe, you can do so at any time by visiting Wikipedia:WikiProject Tamil Nadu/Participants.

Thank you! Message delivered to you with love by Yapperbot :) | Is this wrong? Contact my bot operator. | Sent at 18:01, 27 September 2021 (UTC)

Your access to AWB may be temporarily removed

Hello Timbaaa! This message is to inform you that due to editing inactivity, your access to AutoWikiBrowser may be temporarily removed. If you do not resume editing within the next week, your username will be removed from the CheckPage. This is purely for routine maintenance and is not indicative of wrongdoing on your part. You may regain access at any time by simply requesting it at WP:PERM/AWB. Thank you! MusikBot II talk 17:21, 28 September 2021 (UTC)

The Signpost: 31 October 2021

  • WikiProject report: Redirection
    An interview with participants at WikiProject Redirect.

Nomination for deletion of Template:Grand Trunk Express route map

Template:Grand Trunk Express route map has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. WikiCleanerMan (talk) 21:53, 31 October 2021 (UTC)

The Signpost: 29 November 2021

  • WikiCup report: The WikiCup 2021
    15th annual event closes with hundreds of articles improved
  • From a Wikipedia reader: What's Matt Amodio?
    Wikipedia democratizes knowledge, but is it in Jeopardy?
  • Arbitration report: ArbCom in 2021
    We should have at least one of these every year!

The Signpost: 28 December 2021

  • From the editor: Here is the news
    And wishing our readers a healthy, fortunate and bountiful 2022.
  • Arbitration report: A new crew for '22
    Elections certified, bans unlifted, mailing lists restricted, but no new cases.
  • Humour: Buying Wikipedia
    Helpful how-to for the prospective buyer. Why settle for a measly single edit, when you can buy the whole thing?

The Signpost: 30 January 2022

  • WikiProject report: The Forgotten Featured
    Interview with volunteers at the Unreviewed featured articles 2020 working group.

Nomination for deletion of Template:COVID-19 pandemic data/India/Andhra Pradesh medical cases chart

Template:COVID-19 pandemic data/India/Andhra Pradesh medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:37, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Bihar medical cases chart

Template:COVID-19 pandemic data/India/Bihar medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:38, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Gujarat medical cases chart

Template:COVID-19 pandemic data/India/Gujarat medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:38, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Nagaland medical cases chart

Template:COVID-19 pandemic data/India/Nagaland medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:42, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Punjab medical cases chart

Template:COVID-19 pandemic data/India/Punjab medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:42, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Jammu and Kashmir medical cases chart

Template:COVID-19 pandemic data/India/Jammu and Kashmir medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:43, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Madhya Pradesh medical cases chart

Template:COVID-19 pandemic data/India/Madhya Pradesh medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:45, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Puducherry medical cases chart

Template:COVID-19 pandemic data/India/Puducherry medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:45, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Telangana medical cases chart

Template:COVID-19 pandemic data/India/Telangana medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:46, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Uttar Pradesh medical cases chart

Template:COVID-19 pandemic data/India/Uttar Pradesh medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:46, 19 February 2022 (UTC)

Nomination for deletion of Template:COVID-19 pandemic data/India/Uttarakhand medical cases chart

Template:COVID-19 pandemic data/India/Uttarakhand medical cases chart has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Nigej (talk) 09:47, 19 February 2022 (UTC)

The Signpost: 27 February 2022

  • WikiProject report: 10 years of tea
    Coffee in Teahouse and other secrets revealed in this interview with volunteers.

The Signpost: 27 March 2022

  • Eyewitness Wikimedian, Vinnytsia, Ukraine: War diary
    Reporting from on the ground in Ukraine.
  • From the archives: Burn, baby burn
    A look at when early backups of Wikipedia were recovered.

The Signpost: 24 April 2022

  • News and notes: Double trouble
    The second case of Wikipedian persecution.
  • Eyewitness Wikimedian, Vinnytsia, Ukraine: War diary (Part 2)
    "Our proud Sparta bleeds too."
  • Interview: On a war and a map
    How a war map predated Wikimedia's map of the Russian invasion of Ukraine.

The Signpost: 29 May 2022

  • Featured content: Featured content of April
    Showcasing the very best articles, pictures, videos, and other contributions from Wikipedians last month.
  • From the archives: The Onion and Wikipedia
    A look at when The Onion published an humorous article regarding Wikipedia.

The Signpost: 26 June 2022

The Signpost: 1 August 2022

  • Eyewitness Wikimedian, Vinnytsia, Ukraine: War diary (part 3)
    "This year's victory was sad and dull."
  • Opinion: Criminals among us
    Mass murderers, sex criminals, Ponzi schemers, insider traders, and business people.
  • Gallery: A backstage pass
    All the things about theatre that the general public misses out on.

The Signpost: 31 August 2022

  • Discussion report: Boarding the Trustees
    2022 elections, new page patrol, Fox News, Vector 2022, Royal Central and external links
  • From the archives: 5, 10, and 15 years ago
    The Signpost looks back on The Signpost: New reports, conceived in a spirit of collaboration, and dedicated to the proposition of information and, uh, more information for all.

The Signpost: 30 September 2022

  • Featured content: Farm-fresh content
    This month: A FACBot upgrade, a completed list of lists.

The Signpost: 31 October 2022

The Signpost: 28 November 2022

  • Disinformation report: Missed and Dissed
    Are government goons prowling our fair encyclopedia?
  • Book review: Writing the Revolution
    Heather Ford's new volume on Wikipedia, knowledge and power in the 2011 Egyptian revolution.
  • Technology report: Galactic dreams, encyclopedic reality
    Facebook's Galactica demo provides a case study in large language models for text generation at scale: this one was silly, but we cannot ignore them forever.
  • Obituary: A tribute to Michael Gäbler
    They shall grow not old, as we that are left grow old: Age shall not weary them, nor the years condemn.
  • CommonsComix: Joker's trick
    A toast to good health, a health to good hoax, a hoax to good toast.

The Signpost: 1 January 2023

  • Featured content: Would you like to swing on a star?
    You head into the featured content report. Amongst the features you see astronauts, both Gilbert and Sullivan, Ursula K. Le Guin's incredibly talented mother, and Billboard charts. It is pitch black, you are likely to be eaten by a grue.
  • From the archives: Five, ten, and fifteen years ago
    Photographers, Sandy Hook, the shocking use of Nazi symbols in articles about Nazis, and "You wouldn't recognise a fact if it bit you in the ass".

The Signpost: 16 January 2023

  • Featured content: Flip your lid
    ...and your ambigram. Also: Boring lava fields, birds of Tuvalu, and commelinid family names with etymologies.

Related Articles

Wikiwand AI