Development statistics/Extensions

This page collects some statistics about MediaWiki extensions: number of extensions and their quality.

Statistics
Number of extensions: (as of 13 February 2015)
 * 719 distributed by ExtensionDistributor
 * 2000 (about) extensions categorised on MediaWiki.org (category All extensions; it seems there are not too much other pages, the raw number if 2 263)
 * 6000 (about) extensions categorised on WikiApiary.com (category Extension; it seems there are not too much other pages, the raw number is 6 573)
 * 3132 extensions on MediaWiki.org (pages in Extensions: namespace, which are not a subpage but possibly a redirect; 6 222 pages grand total, subpages and redirects included)

Extension quality: (as of 13 February 2015)
 * 146 extensions used in production on Wikimedia websites
 * 827 extensions considered stable by the community and/or their authors
 * 868 extensions annonced in beta version by the community and/or their authors
 * 247 extensions considered as experimental by the community and/or their authors
 * 109 extensions which were stable but are now unmaintained
 * 327 extensions archived, i.e. no more maintained since a long time
 * 81 extensions with known vulnerabilities, out of which 56 have been deleted from the MediaWiki.org website

Statistics sources and methodology

 * ExtensionDistributor: download https://gerrit.wikimedia.org/mediawiki-extensions.txt and count the number of lines
 * MediaWiki.org category "All extensions": open https://www.mediawiki.org/wiki/Category:All_extensions and get the number of pages in the category
 * WikiApiary.com category "Extensions": open https://wikiapiary.com/wiki/Category:Extension and get the number of pages in the category
 * pages Extension: on MediaWiki.org: copy all titles from https://www.mediawiki.org/wiki/Special:AllPages/Extension: in a text file and count the number of lines. Possibly a program could be written by using the API https://www.mediawiki.org/w/api.php?action=query&list=allpages&format=json&apnamespace=102&aplimit=500, walking through the API pages, saving the titles, and removing the titles with a slash (subpages). Or possibly there is some way to directly get this number through API or web interface.
 * extensions used in production on Wikimedia websites: Git repository "operations/mediawiki-config", file "wmf-config/extension-list", count the number of lines; see also https://www.mediawiki.org/wiki/Category:Extensions_used_on_Wikimedia which should be synchronised
 * extensions considered stable by the community and/or their authors: https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&categories=Stable+extensions&ns%5B102%5D=1&doit=1 (I consider an extension without a page in the namespace Extension: can not be considered stable; de facto other pages in the category are mainly copies of existing extensions as well as some extensions currently in development)
 * extensions annonced in beta version by the community and/or their authors: https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&categories=Beta+status+extensions&ns%5B102%5D=1&doit=1
 * extensions considered as experimental by the community and/or their authors: https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&categories=Experimental+extensions&ns%5B102%5D=1&doit=1
 * extensions which were stable but are now unmaintained : https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&categories=Not+LTS+ready&ns%5B102%5D=1&doit=1
 * extensions archived, i.e. no more maintained since a long time: https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&depth=1&categories=Archived+extensions&ns%5B102%5D=1&doit=1
 * extensions with known vulnerabilities:
 * total with known vulnerabilities: https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&depth=100&categories=Extensions+with+security+vulnerabilities&ns%5B102%5D=1&doit=1
 * total which have been deleted from the MediaWiki.org website: https://tools.wmflabs.org/catscan2/catscan2.php?language=www&project=mediawiki&categories=Deleted+extensions+with+security+vulnerabilities&ns%5B102%5D=1&doit=1