คู่มือ:ValidateRegistrationFile.php

This page is a translated version of the page Manual:ValidateRegistrationFile.php and the translation is 67% complete.
เวอร์ชันมีเดียวิกิ:
1.25

รายละเอียด

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.

การใช้งาน

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

Terminal

Validating all extension.json under extensions dir

Terminal

ดูเพิ่ม