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

Content deleted Content added
New status
Tags: Mobile edit Mobile web edit Advanced mobile edit
copy edit - really interesting article, by the way!
Line 1:
<noinclude>{{Signpost draft
|title = XtoolsXTools: Data analytics for your list of created articles
|blurb = Letting you find out about yourself (and others)
|Ready-for-copyedit = Yes
Line 15:
}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=yes<!--CHANGE TO YES FOR A 'FULLWIDTH' ARTICLE-->}}
Experienced wikipediansWikipedians have often a long list of created articles. But what do they know about those articles? How can they have some metrics or analytics to follow their collection of created articles?
 
[[mw:XTools|XtoolsXTools]] provides some insights about your list of created articles<ref>https://xtools.wmflabs.org/pages/en.wikipedia.org/PAC2</ref>. Pageviews provides a userviews tabset with the number of pageviews for each article created by a user<ref>https://pageviews.wmcloud.org/userviews/?project=en.wikipedia.org</ref>. But what about the gender distribution of the biographies I've created? Which is the main occupation of people I've written about? Where are located the places for which I've created an article? And if we come to the content of the articles. Which of my articles is the longest one? Which one has the largest number of references?
 
By using the xtoolsXTools 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>]]
Line 31:
Another tool provides a map of your articles related to geolocated Wikidata items using property {{Wikidata property link|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 "Look at your list of created articles with the XtoolsXTools Page Prose API": List of articles I've created in Wikipedia in English sorted by number of words and by number of references<ref>retrieved from https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ap on January 7, 2023</ref>]]
 
We can also have insights about the content of our articles. XtoolsXTools 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>"Look at your list of created articles with the XtoolsXTools Page Prose API": 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 "Look at your list of created articles with the XtoolsXTools Page ArticleInfo API": 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 7, 2023</ref>]]
 
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 xtoolsXTools articleinfo API.<ref>Look at your list of created articles with the XtoolsXTools Page ArticleInfo API: https://observablehq.com/@pac02/look-at-your-list-of-created-articles-with-the-xtools-page-ar</ref>
 
All my tools are developed in [[JavaScript]] using Observable, a datavisualization platform created by Melody Meckfessel and [[Mike Bostock]] which makes it very easy to design interactive tools. One shortcoming is that you may experience some timeout errors since my tools rely on a high number of API calls. I can imagine that if you've created more than 2,000 articles, you may have a lot timeout errors. All my work is [[open source]]. So feel free to improve it and suggest better solutions. And of course all your feedbacks are greatly appreciated.