Wikipedia:Wikipedia Signpost/2023-02-04/Tips and tricks: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 7:
By using the xtools pages created API, I've developed a set of new tools to answer all those questions<ref>https://observablehq.com/collection/@pac02/pages-created</ref>. All my tools are developed in [[JavaScript]] using the Observable platform. Observable is datavisualisatuon created by Melody Meckfessel and [[Mike Bostock]] which makes it very easy to design interactive tools. I'm not an experienced javascript developer. So all my tools are fragile. I can imagine that if you've created more than 2,000 articles, you may have a lot timeout errors. Last but not least, all my work is open source and anyone can improve it.
 
At first, I was very curious about the gender distribution of people I've created a biographical article about. So my toolsI use the Wikidata API to get the value of the property P21 "Sex or gender" for all items corresponding to articles a user has created.
 
This tool can easily be extended to other Wikidata properties such as P31, P17, P27 and P106.
 
== References ==