Content handler for code content such as CSS, JavaScript, JSON, etc.
makeEmptyContent()
Creates an empty TextContent object.
Content handler for JSON.
__construct( $modelId=CONTENT_MODEL_JSON)
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class