Hello!
I wanted to try AJAX, so i switched it on in my MW 1.9.0: $wgUseAjax = true; $wgAjaxSearch = true; $wgAjaxWatch = true;
Now, when I try to type the name of an article in the searchbox of my wiki, i get an error-message-popup:
Error: 500 Internal Server Error Parser::replaceInternalLinks: $this->mTitle is null
Whats wrong?
Regards, Jan
On 18/01/07, Jan 2036@gmx.de wrote:
Error: 500 Internal Server Error Parser::replaceInternalLinks: $this->mTitle is null
Whats wrong?
The experimental AJAX search feature has had this bug for some time. Rumour has it that it's been fixed in trunk, but it might be the case that we'll want to rip it out and approach it fresh.
Having said that, Hashar's been poking it a bit, I think, so it might be up to a usable standard again now.
Rob Church
On 18/01/07, Jan 2036@gmx.de wrote:
Yeah, u are right! I updated to 1.10alpha r19452, and now AJAX-search works. Nice :)
And now you're stuck in the loop and will have to keep updating until 1.10.0 or something. :P
Rob Church
And now you're stuck in the loop and will have to keep updating until 1.10.0 or something. :P
Doesnt matter ... its only a test-wiki without serious content.
My production-wikis always stay on an stable releases (at the moment all between 1.6.9 and 1.8.3).
Jan
Rob Church wrote:
On 18/01/07, Jan 2036@gmx.de wrote:
Error: 500 Internal Server Error Parser::replaceInternalLinks: $this->mTitle is null
Whats wrong?
The experimental AJAX search feature has had this bug for some time. Rumour has it that it's been fixed in trunk, but it might be the case that we'll want to rip it out and approach it fresh.
Having said that, Hashar's been poking it a bit, I think, so it might be up to a usable standard again now.
The patch is in r19034 that did not make it in REL1_9 branch. I backported with r19460. Hopefully it will be available in 1.9.1 unless there is a serious flaw I am not aware of and the release manager find it :)
The problem was that the ajax search function parse the search term enclosed in [[]]. This way if someone is looking for 'foobar' and there is a 'foobar' article, it can click it directly. The problem is that the parser actually need a title to work with which was never created.
The command to grab the patch for a 1.9.0 installation is (all on one line) :
svn diff http://svn.wikimedia.org/svnroot/mediawiki@19033 http://svn.wikimedia.org/svnroot/mediawiki@19034
cheers,
On 18/01/07, Ashar Voultoiz hashar@altern.org wrote:
The problem was that the ajax search function parse the search term enclosed in [[]]. This way if someone is looking for 'foobar' and there is a 'foobar' article, it can click it directly. The problem is that the parser actually need a title to work with which was never created.
Yeah, I thought about poking this when I came across it before, but at the time, the search thing was rumoured to be more broken, so I left it.
Rob Church
Those links to the fix command do not work, can you post or send them to me somehow? Also, i'm running version 1.8.5 because i'm using gentoo and it's the latest version in portage, will the fix work on 1.8.5 also?
Thank you, Jeremiah towe
Ashar Voultoiz-2 wrote:
Rob Church wrote:
On 18/01/07, Jan 2036@gmx.de wrote:
Error: 500 Internal Server Error Parser::replaceInternalLinks: $this->mTitle is null
Whats wrong?
The experimental AJAX search feature has had this bug for some time. Rumour has it that it's been fixed in trunk, but it might be the case that we'll want to rip it out and approach it fresh.
Having said that, Hashar's been poking it a bit, I think, so it might be up to a usable standard again now.
The patch is in r19034 that did not make it in REL1_9 branch. I backported with r19460. Hopefully it will be available in 1.9.1 unless there is a serious flaw I am not aware of and the release manager find it :)
The problem was that the ajax search function parse the search term enclosed in [[]]. This way if someone is looking for 'foobar' and there is a 'foobar' article, it can click it directly. The problem is that the parser actually need a title to work with which was never created.
The command to grab the patch for a 1.9.0 installation is (all on one line) :
svn diff http://svn.wikimedia.org/svnroot/mediawiki@19033 http://svn.wikimedia.org/svnroot/mediawiki@19034
cheers,
-- Ashar Voultoiz - WP++++ http://en.wikipedia.org/wiki/User:Hashar http://www.livejournal.com/community/wikitech/ IM: hashar@jabber.org ICQ: 15325080
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org