Developer Advocacy/Metrics

From mediawiki.org
Jump to navigation Jump to search

This page lists metrics that the Developer Advocacy team has been interested in. (For a general list of links to metrics and statistics, refer to mw:Development statistics.)

Core workflows[edit]

Metrics related to non-programmatic work.

Code review (Gerrit)[edit]

New changesets submitted per month[edit]

For data on new changesets (patches) contributed in Wikimedia Gerrit, see https://wikimedia.biterg.io/goto/e8cdbe289481bf2cf7bebd2911aeead6 (see mw:Community metrics for help).

Code uploaders per month[edit]

For data on changeset (patch) authors in Wikimedia Gerrit, see https://wikimedia.biterg.io/goto/e8cdbe289481bf2cf7bebd2911aeead6 (see mw:Community metrics for help).

Project management (Phabricator)[edit]

Active users in Phabricator Maniphest per month[edit]

Data source: "Phabricator monthly statistics" email on wikitech-l

New accounts in Phabricator per month[edit]

Data source: "Phabricator monthly statistics" email on wikitech-l

Programs[edit]

Metrics related to our annual programs.

Technical Contributors Map[edit]

This section is a draft.

This is a FY2019-20 Q1 team goal to identify related metrics for the target audiences of the Developer Advocacy subteam. (See phab:T212904.)

  • A black box means: Infrastructure tool not used for such implementations, unless otherwise proven. (Feel free to correct!)
  • A green box means that developer contributions can currently be measured.
  • A yellow box means that developer contributions can currently be measured by performing potentially cumbersome manual steps.
  • A red box means that developer contributions could currently not be measured.
  • The number in a cell is the number of code projects, as of 2019-12-20
  • ☹ means that we would either like to measure this in the long run, or that we would like to make measuring easier and less cumbersome.

Caveats: Usernames and corresponding email addresses might differ across systems.

↘ Infra­structure Tools Implemen­tations → MediaWiki Core MediaWiki extensions (and skins) Modules and Templates User scripts, Gadgets, MediaWiki:­Common.js, etc Tools and Bots on Toolforge or VPS[1] Misc (Wikimedia server config, Services, etc)
Code Review / Code Location Wikimedia Gerrit[2] 1 827 [3] [4] 98 [5] ~1300? (cannot detect replication)
Github[6] >400 ☹ [7][8] <50? ☹ [9][10] ? ☹ [9] ~600?
On-wiki content 138 [11] >270000? ☹ [12] >10600 ☹ [13]
Unknown or Misc (Gitlab, Bitbucket, Sourceforge, local hard disk, on server, etc) ? ☹ [14] [8] ? ☹ [15] [9]
Wikimedia Phabricator Differential or Diffusion 310 ☹ [16]
Issue Trackers Wikimedia Phabricator Maniphest[17] [18] [19]
Github[20] [7]
Unknown or Misc (Gitlab, Bitbucket, JIRA, Sourceforge, local Excel sheet, etc) [14]

Notes[edit]

  1. Hay's Tools Directory (opt-in; parses toolinfo.json listed in this file) lists for 437 out of 620 listed entries a "Source available" link. https://tools.wmflabs.org/admin/tools lists for 362 out of 2660 account entries a "Source" link.
  2. Indexed by Bitergia though adding new repositories requires manual changes, see phab:T218519
  3. mw:Category:Extensions in Wikimedia version control
  4. Until phab:T121470 is resolved
  5. See labs/tools/ project entries in Gerrit
  6. Indexed by Bitergia though adding new repositories requires manual changes, see phab:T218528
  7. 7.0 7.1 mw:Category:Extensions in GitHub version control
  8. 8.0 8.1 Any repositories, once their URL is known, can be indexed by Bitergia if added to projects.json which could be done to some extent by pulling the "Download" URLs from the Infobox on each mediawiki.org extension homepage
  9. 9.0 9.1 9.2 Any repositories, once their URL is known, can be indexed by Bitergia if added to projects.json
  10. Example: https://github.com/azatoth/twinkle/
  11. mw:Category:Extensions which host their code in-wiki
  12. "The best you might do would be to look at the top editors in the Module namespace on different wikis, although that might as well catch [...] edits to some test module [...] or (on smaller wikis) people who copy-paste modules from other wikis." -- Anomie in phab:T190164. For Modules, hive (wmf_raw)> select count(*) from mediawiki_page where page_namespace = 828 and snapshot = '2019-11'; lists 270430 modules which might be unrealistic. For the number of Module editors in the 2019, hive (wmf)> select distinct caused_by_user_text from mediawiki_page_history where snapshot = '2019-11' and page_namespace = 828 and start_timestamp > '2018-12-16 00:00:00' and caused_by_user_text not like '%>%' and not caused_by_anonymous_user; lists 1565 editors. These Hive queries were provided by Tgr.
  13. Ugly manual shell script in phab:T190164 to collect editor usernames and number of their edits. Lacks affiliation and not combinable with Gerrit/Github data; plus searches for gadgets in MediaWiki: namespace; those gadgets are not necessarily listed under Special:Preferences or MediaWiki:Gadgets-definition. Quarry might be used for this in the future but does not allow querying across sites as per phab:T95582
  14. 14.0 14.1 mw:Category:Extensions in SourceForge version control‎, mw:Category:Extensions in GitLab version control‎, mw:Category:Extensions in Bitbucket version control‎, mw:Category:Extensions in Google Code version control‎
  15. Toolforge rules require "publishing"
  16. 310 Diffusion repos as of January 2021 (see phab:T237470#6760135); in 24 months there were 2558 code commits in git master in Diffusion by 78 different addresses (see phab:T241659#6773192). See monthly "Active Differential users" stats; see phab:T191182 for potentially disabling Differential.
  17. Indexing by Bitergia limited to task submitters and task resolvers, but not adding comments etc; see phab:T161928
  18. Only if specifically requested, e.g. phab:tag/DannyS712-Global_watchlist.js, phab:tag/Navigation-Popups or phab:tag/wikidata-gadgets; otherwise phab:T121470 applies
  19. See subprojects under phab:tag/tools/
  20. See phab:T218529 for non-existing Bitergia configuration

Onboarding New Developers (2017-2018)[edit]

Onboarding New Developers was a program between July 2017 and June 2018. See the program page.

Volunteers contributing patches for review[edit]

For data on volunteers who contributed changesets (patches) in Wikimedia Gerrit, see https://wikimedia.biterg.io/goto/6aee9cd3de316109f3fbed46fab86d23 (see mw:Community metrics for help).

New volunteers attracted[edit]

For data on newly attracted volunteers who contributed changesets (patches) in Wikimedia Gerrit, see https://wikimedia.biterg.io/goto/4c23163b7251e8c8b2d7680efad97852 (see mw:Community metrics for help).

New volunteers retained[edit]

See mw:New Developers/Quarterly#Summary of key findings for data from July 2017 to June 2018 on volunteers retained. See phab:T160430#3653379 for instructions how anyone could calculate newer data.

Projects featured for new developers[edit]