wikimedia/mediawiki has 1,950,977 source lines of code out of 2,359,894 total lines across 9,885 files, counted from the master ref at commit d8048e157e6c by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
wikimedia/mediawiki: 1,950,977 code lines at commit d8048e157e6c, counted with tokei-14.0.0 on 2026-10-22. Saved result 47529867ab56856f2130a92860b452eab2a0df08f69e57eaa43e9136b0bbfb3d.
OctoCounts produced this report by resolving wikimedia/mediawiki to commit d8048e157e6c, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
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. JSON accounts for 65.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 3424 | 1270527 | 1270357 | 0 | 170 |
| PHP | 3889 | 798275 | 483556 | 236671 | 78048 |
| JavaScript | 701 | 239805 | 165980 | 53616 | 20209 |
| LESS | 190 | 14924 | 10830 | 2161 | 1933 |
| CSS | 171 | 10718 | 9709 | 553 | 456 |
| SVG | 1302 | 4430 | 4427 | 0 | 3 |
| SQL | 111 | 5490 | 4031 | 421 | 1038 |
| XML | 4 | 616 | 516 | 60 | 40 |
| Vue | 20 | 483 | 438 | 6 | 39 |
| YAML | 1 | 532 | 382 | 122 | 28 |
| Python | 1 | 452 | 359 | 26 | 67 |
| 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 | 43 | 12951 | 0 | 10353 | 2598 |
| Plain Text | 8 | 241 | 0 | 225 | 16 |
Top language (JSON 65.1%). Generated at .
wikimedia/mediawiki has 2,359,894 total lines, including 1,950,977 code lines, 304,243 comment lines, and 104,674 blank lines.
OctoCounts resolved the public GitHub repository to commit d8048e157e6c, 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 d8048e157e6c on 2026-10-22T11:48:18.259188846Z.
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,950,977 code lines across 18 languages, counted by tokei.