X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMediaWiki.php;h=82ffcfb71e5f66b1f4f32eba5b748e802ccfa597;hb=bf61efd87;hp=6c932d2a2e2561c53b5493d9b61cdc6258a246a4;hpb=bed43f525501ddf80995daa8e406414500ce3d1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MediaWiki.php b/includes/MediaWiki.php index 6c932d2a2e..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__ @@ -861,7 +861,7 @@ class MediaWiki { $this->performRequest(); // GUI-ify and stash the page output in MediaWiki::doPreOutputCommit() while - // ChronologyProtector synchronizes DB positions or slaves accross all datacenters. + // ChronologyProtector synchronizes DB positions or replicas accross all datacenters. $buffer = null; $outputWork = function () use ( $output, &$buffer ) { if ( $buffer === null ) {