X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMediaWiki.php;h=82ffcfb71e5f66b1f4f32eba5b748e802ccfa597;hb=bf61efd87;hp=b3abe7cfca2f4dc511d55c7149365d693018339b;hpb=ebf1570fd1ad7a9fc732e8dfdedcbc540c4a8ec6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MediaWiki.php b/includes/MediaWiki.php index b3abe7cfca..82ffcfb71e 100644 --- a/includes/MediaWiki.php +++ b/includes/MediaWiki.php @@ -758,7 +758,7 @@ class MediaWiki { $request = $this->context->getRequest(); // Send Ajax requests to the Ajax dispatcher. - if ( $this->config->get( 'UseAjax' ) && $request->getVal( 'action' ) === 'ajax' ) { + if ( $request->getVal( 'action' ) === 'ajax' ) { // Set a dummy title, because $wgTitle == null might break things $title = Title::makeTitle( NS_SPECIAL, 'Badtitle/performing an AJAX call in ' . __METHOD__