Class representing a MediaWiki article and history.
createMockContent(ContentHandler $handler, $text)
Tests WikiPage against the intermediate MCR DB schema for use during schema migration.
createPage( $page, $content, $model=null, $user=null)
defineMockContentModelForUpdateTesting( $name)
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