OutputPage::setEncodings(); # Not really used yet
$maxLag = $wgRequest->getVal( 'maxlag' );
-if ( !is_null( $maxLag ) ) {
- if ( !$mediaWiki->checkMaxLag( $maxLag ) ) {
- exit;
- }
+if( !is_null($maxLag) && !$mediaWiki->checkMaxLag( $maxLag ) ) {
+ exit;
}
# Query string fields
$title = $wgRequest->getVal( 'title' );
$wgTitle = $mediaWiki->checkInitialQueries( $title, $action );
-if ($wgTitle == NULL) {
+if( $wgTitle === NULL ) {
unset( $wgTitle );
}
#
# Send Ajax requests to the Ajax dispatcher.
#
-if ( $wgUseAjax && $action == 'ajax' ) {
+if( $wgUseAjax && $action == 'ajax' ) {
require_once( $IP . '/includes/AjaxDispatcher.php' );
$dispatcher = new AjaxDispatcher();