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 10:
At first, I was very curious about the gender distribution of people I've created a biographical article about. So I 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<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 https://observablehq.com/@pac02/look-at-your-list-of-created-articles-through-wikidata]]
This tool can easily be extended to other Wikidata properties such as "instance of" (P31) and "country" (P17) and for humans "country of citizenship" (P27) and occupation (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>.
Another tool provides a map of your articles related to geolocated Wikidata items using property P625.<ref>Map your list of created articles through Wikidata: https://observablehq.com/@pac02/map-your-list-of-created-articles-through-wikidata</ref>
[[File:Graph of the number of words and number of references in articles created by PAC2.jpg|thumb|Screenshot of https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ap]]
We can also have insights about the content of our articles. Xtools page prose API gives the number of words, references, unique references and sections in each article. So I've developed a notebook which computes this for all the articles created by a user<ref>https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ap</ref>.
[[File:Insights from PAC2's list of created articles through articleinfo API.jpg|thumb|Screenshot of https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ar]]
My last tool collects data about the number of revisions, the number of editors, the number of pageviews and the number of watchers for all articles a user has created using xtools articleinfo API.<ref>Look at your list of created articles with the Xtools Page ArticleInfo API: https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ar</ref>
|