Manual:FixDefaultJsonContentPages.php/ja

Category:MediaWiki deprecated or obsolete features/ja#FixDefaultJsonContentPages.php
MediaWiki バージョン:
1.26 1.43
Category:MediaWiki code/ja#FixDefaultJsonContentPages.php

詳細

fixDefaultJsonContentPages.php is a maintenance script that fixes instances of JSON pages prior to them being the ContentHandler. ContentHandler is part of MediaWiki core beginning with version 1.21. This script finds JSON pages in the MediaWiki and User namespaces and fixes the page content model in the database.

This script runs by default when you run update.php. It process 100 items in a batch.

Options/Arguments

This script does not take any options or arguments.

使用法

php maintenance/run.php fixDefaultJsonContentPages
Terminal
Whenever the script runs, it makes a note in the database and will not run again. If you want to run the script again, run the command with the --force option.
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを php maintenance/run.php scriptName ではなく php maintenance/scriptName.php を使用して実行する必要があります。

関連項目

Category:Maintenance scripts/ja Category:Content maintenance scripts/ja
Category:Content maintenance scripts/ja Category:Maintenance scripts/ja Category:MediaWiki code/ja Category:MediaWiki deprecated or obsolete features/ja