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.
[[File:Gender distribution of articles created by PAC2.jpg|thumb|
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|
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>.
Line 21:
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|List of articles I've created in Wikipedia in English sorted by number of revisions and by number of editors<ref>retrieved from https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ar on January
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>
|