Manual:validateRegistrationFile.php


New extension registration mechanism introduced in MediaWiki 1.25 which uses to load extensions and skins through extension.json or skin.json


validateRegistrationFile.php maintenance script provide a way to validate that extension.json or skin.json. See Manual:Extension_registration#Migration_for_extension_developers.

ArgumentsEdit

validateRegistrationFile.php accepts only path or glob pattern of extension.json/skin.json as an argument.

UsageEdit

php maintenance/validateRegistrationFile.php filepath/pattern


Validating extension.json of MobileFrontend extension
Terminal
Validating all extension.json under extensions dir
Terminal

See alsoEdit