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 21:
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>.
 
[[File:Gender distribution of articles created by PAC2.jpg|thumb|Screenshot of "User-level gender statistics for Wikipedia": Gender distribution of articles I've created in Wikipedia in French<ref>Retrieved from https://observablehq.com/@pac02/user-level-gender-statistics-for-wikipedia on January 7, 2023</ref>]]
 
At first, I was very curious about the gender distribution of people I've created a biographical article about. So I've used the Wikidata API to get the value of the property {{Wikidata property link|P21}} for all items corresponding to articles a user has created. This first tool is named "User-level gender statistics for Wikipedia"<ref>User-level gender statistics for Wikipedia: https://observablehq.com/@pac02/user-level-gender-statistics-for-wikipedia</ref>.
 
[[File:Graph of articles created by PAC2 by instance of.jpg|thumb|Screenshot of "Look at your list of created articles through Wikidata": Distribution of articles I've created in Wikipedia in French by {{Wikidata property link|P31}}.<ref>retrieved from https://observablehq.com/@pac02/look-at-your-list-of-created-articles-through-wikidata on January 7, 2023</ref>]]
 
This tool can easily be extended to other Wikidata properties such as {{Wikidata property link|P31}} and {{Wikidata property link|P17}} and for humans {{Wikidata property link|P27}} and {{Wikidata property link|P106}}. This lead to another tool named "Look at your list of created articles through Wikidata".<ref>Look at your list of created articles through Wikidata: https://observablehq.com/@pac02/look-at-your-list-of-created-articles-through-wikidata</ref>