Manual:FixDefaultJsonContentPages.php/en

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

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

Options/Arguments
This script does not take any options or arguments.