Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.88 KB

File metadata and controls

37 lines (29 loc) · 1.88 KB

Wikipedia.org technical Documentation

TOC


Creating a Production Build

A build of the Wikimedia portals is created automatically each week by a Jenkins Job in CI that runs every mondays at 9:30 A.M. UTC. This build is run by the PortalsBuilder user, whose patch history can be viewed here. A changelog of each build is also available and can be viewed here.

It is also possible to manually create a new build in the event that an error must be immediately fixed. To run a manual build, first update the stats, then run the following commands:

  1. gulp update-stats Updates stats.
  2. gulp --portal=wikipedia.org Runs the build of wikipedia.org.
  3. gulp fetch-meta --portal=all Fetch updates for the remaining project portals
  4. Commit the changes to Gerrit.

These Gulp task have also been combined into a single npm script: npm run build-all-portals.

Running a build produces a high amount of changes in Git because each l10n file is appended with a cache-busting hash at the end of the file name. When a single translation changes, all the translations get updated with a new cache-busting hash, and therefore, all the l10n file names get changed as well. For this reason, it is typically not necessary to commit a new build of the portals for each patch submitted to Gerrit.