MediaWiki snapshots. Nightly and hourly builds.
PHP JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public_html
scripts
.gitignore
.gitmodules
.jshintignore
.travis.yml
LICENSE.txt
README.md
class.php
common.php
sample-local.php

README.md

Build Status

Snapshots

Install:

  • Copy sample-local.php and rename to local.php
  • Fill in paths for the needed directories (and create them if needed). Keep in mind that the PHP script needs to be able to write, read and remove files from these directories. In the case of cacheDir, it needs to be able to create directories as well.
  • Make sure the path of mediawikiCoreRepoDir points to a mediawiki core checkout:
    git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git mediawiki-core
  • Run:
    php scripts/updateSnaphots.php
  • Symlink {cacheDir}/snapshots to ./public_html/builds
  • Schedule updateSnaphots.php to run hourly
    0 * * * * php /path/to/mw-tool-snapshots/scripts/updateSnaphots.php > {logsDir}/updateSnaphots.log 2>&1
  • Symlink ./public_html to be or to be inside of /path/to/public_html