Manual:validateRegistrationFile.php

MediaWiki version:
1.25

Details

edit

This maintenance script validates the extension.json and skin.json files used to register extensions and skins.

Arguments

edit

This script accepts only the path or glob pattern of extension.json/skin.json as an argument.

Usage

edit
php maintenance/run.php validateRegistrationFile filepath/pattern
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Validating extension.json of MobileFrontend extension

edit
Terminal

Validating all extension.json under extensions dir

edit
Terminal

See also

edit