Jump to content

Manual:validateRegistrationFile.php

From mediawiki.org
This page is a translated version of the page Manual:ValidateRegistrationFile.php and the translation is 62% complete.
MediaWiki バージョン:
1.25

詳細

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

引数

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

使用法

php maintenance/run.php validateRegistrationFile filepath/pattern
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。

Validating extension.json of MobileFrontend extension

Terminal

Validating all extension.json under extensions dir

Terminal

関連項目