Page MenuHomePhabricator

Provide English-only MediaWiki installer
Closed, DeclinedPublic

Description

MediaWiki is bloated with many unused i18n files to the point it's getting absurd.

MediaWiki 1.25.1 (https://releases.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz) stats:

Total size on disk: 93,188 kB
Total size of core files: 33,028 kB - 5,195 files
Total size of i18n files: 60,160 kB - 4,771 files

Breakdown of i18n files:
extensions\ ..5,962,107 kB - 2,727 files
includes\.... ...3,299,889 kB - 299 files
languages\ 50,410,010 kB - 722 files
resources\. ......133,392 kB - 204 files
skins\........... ......289,204 kB - 683 files
vendor\....... ........65,398 kB - 136 files

Is there any good reason why everyone has to download all the languages?

Most people who download the latest stable release would not need that many languages for their websites.
Please consider providing an optional English-only bundle

Event Timeline

Bennylin created this task.May 29 2015, 8:39 AM
Bennylin raised the priority of this task from to Needs Triage.
Bennylin updated the task description. (Show Details)
Bennylin added a project: MediaWiki-Core-Team.
Bennylin added a subscriber: Bennylin.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 29 2015, 8:39 AM
Bennylin set Security to None.
revi added a subscriber: revi.May 29 2015, 9:02 AM

I think the traditional answer to this question is that disk space is cheap, and the one off bandwidth cost is not vast -- but perhaps you disagree.

If MW does go down this route I think the right balance is to have a limited languages (top 12 perhaps) tarball rather than just English -- or have limited-lang as the default, and additional languages as an extra install. Unfortunately afaik we do not have a good GUI for pulling in additional language packs (particularly if we want that GUI to come with its own translations!).

I could see _why_ it is currently as it is now, so I'm just wondering if it is possible to add a lightweight version of the bundle.

fbstj added a subscriber: fbstj.May 29 2015, 10:03 AM

or maybe a simple script which can remove all but the default language after install. (with potentially a secondary service to download user-selected languages if/when they chose to use them?)

fbstj removed a subscriber: fbstj.May 29 2015, 10:03 AM
Amire80 triaged this task as Low priority.Aug 30 2015, 10:54 AM

Why not have a prepackaging downloader that you can tell which:

  • release
  • languages
  • skins
  • extensions

you want?

Shaky connectons, small bandwidths, and download times are of concern in some regions of the world.

saper added a subscriber: saper.Oct 24 2015, 1:24 PM

We have enough problems in keeping command line and web installers in sync, having additional variants will be a disaster unless there is a dedicate team to maintain this. Having said that there is a quite reasonable request in T43896 that affects installation in a constrained environment.

Aklapper lowered the priority of this task from Low to Lowest.Oct 24 2015, 4:27 PM

On 1.30.0:

196M	.
56M	languages/i18n/
4.1M	includes/api/i18n/
3.4M	includes/installer/i18n/

So 32% of the bundle is i18n messages. Given that strong internationalization is one of MediaWiki's principles, I'd be inclined to decline this request.

Legoktm closed this task as Declined.Sep 19 2018, 1:26 AM