wikimedia/mediawiki

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JSON3424127052712703570170
PHP388979827548355623667178048
JavaScript7012398051659805361620209
LESS190149241083021611933
CSS171107189709553456
SVG13024430442703
SQL111549040314211038
XML46165166040
Vue20483438639
YAML153238212228
Python14523592667
Mustache143593261716

Top language (JSON 65.1%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does wikimedia/mediawiki have?

wikimedia/mediawiki has 2,359,894 total lines, including 1,950,977 code lines, 304,243 comment lines, and 104,674 blank lines.

How was the wikimedia/mediawiki line count measured?

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.

What commit was counted for wikimedia/mediawiki?

This OctoCounts report was generated from master at commit d8048e157e6c on 2026-10-22T11:48:18.259188846+00:00.

Similar repository reports

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.