From: Kunal Mehta Date: Sun, 14 Apr 2019 10:19:12 +0000 (-0700) Subject: Add checkDependencies.php X-Git-Tag: 1.34.0-rc.0~1563^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=c20215d6f09ca4348f16b502babbbc69d5017598;hp=c20215d6f09ca4348f16b502babbbc69d5017598 Add checkDependencies.php Checks to see whether the specified MediaWiki extensions/skins have all of their dependencies. Each thing will get a status of: * 'loaded' (it's already activated in LocalSettings.php, and therefore all the dependencies are present) * 'present' (it exists in the filesystem, but not yet activated) * 'missing' (does not exist in the filesystem) * 'incompatible-*' (some version requirement is incompatible) JSON output is available with --json for use in scripts. Development dependencies will be checked if --dev is provided. This is roughly based on the logic already existing in the Installer. It may be worth deduplicating that code in the future. Bug: T193824 Change-Id: Iae9178225c10b6374484274d8848bbea6621c8c2 ---