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.
As of 2026-10-22 (commit d8048e157e6c), wikimedia/mediawiki contains 2,359,894 total lines: 1,950,977 code, 304,243 comments, 104,674 blank, across 9,885 files in 18 languages (top: JSON 65.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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 |
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.259188846+00:00.
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 12 languages, counted by tokei.