$tmpGlobals['wgRawHtml'] = false;
$tmpGlobals['wgUseTidy'] = false;
$tmpGlobals['wgAlwaysUseTidy'] = false;
- $tmpGlobals['wgHtml5'] = true;
$tmpGlobals['wgWellFormedXml'] = true;
$tmpGlobals['wgAllowMicrodataAttributes'] = true;
$tmpGlobals['wgExperimentalHtmlIds'] = false;
# actual thumbnails to do parser testing, we only care about receiving
# a ThumbnailImage properly initialized.
global $wgMediaHandlers;
- foreach( $wgMediaHandlers as $type => $handler ) {
+ foreach ( $wgMediaHandlers as $type => $handler ) {
$tmpGlobals['wgMediaHandlers'][$type] = 'MockBitmapHandler';
}
}
$backend = RepoGroup::singleton()->getLocalRepo()->getBackend();
- if( $backend instanceof MockFileBackend ) {
+ if ( $backend instanceof MockFileBackend ) {
# In memory backend, so dont bother cleaning them up.
return;
}
if ( !$this->isWikitextNS( NS_MAIN ) ) {
// parser tests frequently assume that the main namespace contains wikitext.
- // @todo: When setting up pages, force the content model. Only skip if
+ // @todo When setting up pages, force the content model. Only skip if
// $wgtContentModelUseDB is false.
$this->markTestSkipped( "Main namespace does not support wikitext,"
. "skipping parser test: $desc" );