if ( !$wgUseValidation ) # Are we using article validation at all?
{
+ $wgOut->setStatusCode( 404 );
$wgOut->errorpage( "nosuchspecialpage", "nospecialpagetext" );
return ;
}
$fname = 'Article::info';
if ( !$wgAllowPageInfo ) {
+ $wgOut->setStatusCode( 400 );
$wgOut->errorpage( 'nosuchaction', 'nosuchactiontext' );
return;
}