Page MenuHomePhabricator
Paste P7578

Busiest extensions by number of commits over one year - T199133
ActivePublic

Authored by hashar on Sep 21 2018, 10:22 AM.
For https://phabricator.wikimedia.org/T199133
Use mediawiki/extensions.git as the source of data, Gerrit craft a commit in that repo whenever a mediawiki extension has a new commit.
The repository is already cloned for beta cluster on deployment-deploy01 in /srv/mediawiki-staging/php-master/extensions . So we can git log and process the result to get the busiest repos.
Gather the modules updated by each commit made to mediawiki/extensions.git
ssh deployment-deploy01.deployment-prep.eqiad.wmflabs
cd /srv/mediawiki-staging/php-master/extensions
git log --format="" --stat --since "One year ago"|egrep -o '^ \w\w+' > ~/mwextscommits.log
That is listing every commits, including l10n update and regular dependencies updates handled by bots.
Process:
sort ~/mwextscommits.log | uniq -c | sort -rn
Profit:
1103 Wikibase
930 VisualEditor
805 ContentTranslation
763 WikibaseLexeme
655 MobileFrontend
634 WikibaseQualityConstraints
564 AbuseFilter
537 CirrusSearch
497 BlueSpiceFoundation
451 AdvancedSearch
449 Translate
441 Flow
441 Echo
392 WikimediaMessages
377 FileImporter
330 CentralAuth
318 Popups
311 DonationInterface
309 UploadWizard
293 ORES
292 TwoColConflict
287 Cargo
284 Collection
283 TimedMediaHandler
281 PageTriage
281 Cite
276 UniversalLanguageSelector
276 Kartographer
258 Thanks
248 ProofreadPage
246 FlaggedRevs
245 PageForms
216 Linter
208 WikiEditor
202 GlobalPreferences
194 CentralNotice
190 ReadingLists
175 ConfirmEdit
174 Newsletter
174 Math
170 OAuth
169 TemplateData
168 LiquidThreads
164 CategoryTree
162 WikiLove
159 MultimediaViewer
157 WikimediaEvents
157 EducationProgram
154 SocialProfile
150 GlobalUsage
148 BetaFeatures
147 Babel
146 CodeMirror
143 Scribunto
138 CheckUser
135 Gadgets
133 Score
132 Citoid
131 MassMessage
128 LoginNotify
127 RevisionSlider
126 CommentStreams
125 TemplateWizard
125 ParserFunctions
125 GlobalBlocking
121 TwnMainPage
121 OATHAuth
120 Wikidata
118 3D
116 WikiLexicalData
114 ArticleFeedbackv5
103 BlueSpiceExtendedSearch
102 Renameuser
...