Page MenuHomePhabricator

Internal Error: Parser::replaceInternalLinks: after enable $wgUseAjax
Closed, ResolvedPublic

Description

Author: Wilhelm.Buehler

Description:

  • PHP: 5.1.6-4 (apache2handler)
  • MySQL: 5.0.24a-Debian_9-log

I've install an working mediawiki without any errors.

But when I activate AjaxSearch in

Localsettings.php

with

$wgUseAjax = true;
$wgAjaxSearch = true;
$wgAjaxExportList = array( wfSajaxSearch );

Now it is not possible to search for an article. After writing some
letters in the searchbox (no matter if the Article exist or not) a
message pop up:

Error: 500 Internal Error: Parser::replaceInternalLinks: $this->mTitle
is null

Any Ideas what I can do?

The only hint I found with Google was
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-October/015520.html


Version: 1.8.x
Severity: major
OS: Linux
Platform: PC
URL: http://ka.stadtwiki.net/

Details

Reference
bz7864

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:26 PM
bzimport set Reference to bz7864.
bzimport added a subscriber: Unknown Object (MLST).

The experimental "ajax search" is broken and needs to be redone.

Swen.Wacker wrote:

Until this is done it might be a good idea to remove this from DefaultSettings.php:

/**

  • Enable auto suggestion for the search bar
  • Requires $wgUseAjax to be true too.
  • Causes wfSajaxSearch to be added to $wgAjaxExportList */

$wgAjaxSearch = false;

dschissler wrote:

I am running PHP Version 5.1.6, Apache/2.2.3 (Fedora), MySQL 5.0.22, and
mediawiki 1.8.2 and the ajax search is broken.

(In reply to comment #1)

The experimental "ajax search" is broken and needs to be redone.

It worked in MediaWiki version 1.7.1.

  • This bug has been marked as a duplicate of 7621 ***