wikimedia/mediawiki has 1,951,723 source lines of code out of 2,359,634 total lines across 9,892 files, counted with tokei from the master ref at commit 6e99520a63d0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
wikimedia/mediawiki: 1,951,723 code lines at commit 6e99520a63d0, counted with tokei-15.0.0 on 2026-11-16. Saved result 5e586642321785cc78300e0229cdf5ffb76f94fcf4c76ebe0a55dabb6b984279.
OctoCounts produced this report by resolving wikimedia/mediawiki to commit 6e99520a63d0, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 82.7% of all lines, comments represent 12.9%, and the repository averages 197 code lines per file. PHP is the largest programming language at 24.8% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 3427 | 1271790 | 1271620 | 0 | 170 |
| PHP | 3895 | 797934 | 483293 | 236681 | 77960 |
| JavaScript | 697 | 238904 | 165615 | 53319 | 19970 |
| LESS | 190 | 14955 | 10855 | 2163 | 1937 |
| CSS | 171 | 10718 | 9709 | 553 | 456 |
| SVG | 1302 | 4430 | 4427 | 0 | 3 |
| SQL | 114 | 5588 | 4112 | 421 | 1055 |
| XML | 4 | 644 | 546 | 58 | 40 |
| Vue | 21 | 504 | 454 | 6 | 44 |
| Python | 1 | 452 | 359 | 26 | 67 |
| YAML | 1 | 488 | 341 | 122 | 25 |
| Mustache | 14 | 359 | 326 | 17 | 16 |
| BASH | 3 | 50 | 30 | 8 | 12 |
| Shell | 1 | 32 | 27 | 4 | 1 |
| HTML | 1 | 7 | 7 | 0 | 0 |
| Makefile | 1 | 2 | 2 | 0 | 0 |
| Markdown | 41 | 12536 | 0 | 10069 | 2467 |
| Plain Text | 8 | 241 | 0 | 225 | 16 |
Top programming language: PHP 24.8%. Generated on .
wikimedia/mediawiki: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
wikimedia/mediawiki has 1,951,723 lines of code, plus 303,672 comment lines and 104,239 blank lines, for 2,359,634 total lines at commit 6e99520a63d0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6e99520a63d0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 6e99520a63d0 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for wikimedia/mediawiki on this page — 1,951,723 code lines across 18 languages, counted by tokei.