testGetDiff(Content $oldContent=null, Content $newContent=null, $expectedResult)
provideGetDiff
const ENGINE_PHP
Use the PHP diff implementation (DiffEngine).
makeContent( $str, $model=CONTENT_MODEL_TEXT)
static makeContent( $text, Title $title=null, $modelId=null, $format=null)
Convenience function for creating a Content object from a given textual representation.
Base interface for content objects.
getPlainDiff( $diff)
Convert a HTML diff to a human-readable format and hopefully make the test less fragile.
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
getTextSlotDiffRenderer()
Renders a slot diff by doing a text diff on the native representation.