Manual:validateRegistrationFile.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.25
<translate> MediaWiki version:</translate>

Details

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

Arguments

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

Usage

php maintenance/validateRegistrationFile.php filepath/pattern

Validating extension.json of MobileFrontend extension

Terminal

Validating all extension.json under extensions dir

Terminal

See also