$wgEnableMWSuggest

If you are having problems with GuMax, post here.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: $wgEnableMWSuggest

Post by Paul »

Sorry... I haven't gotten chance to check this, but I will let you know.
User avatar
tumrai
Rank 0
Rank 0
Posts: 1
Joined: May 26th, 2009, 11:58 pm

Re: $wgEnableMWSuggest

Post by tumrai »

hi
on GuMax skin
$wgEnableMWSuggest work only when login,
i think problem with something like cookie.
please help. :D
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: $wgEnableMWSuggest

Post by Paul »

No...

I've checked, the $wgEnableMWSuggest was introduced after GuMax 3.2.1 was released, so there are some core code changes involved, and the new Mediawiki breaks the old skins.
User avatar
jellings
Rank 2
Rank 2
Posts: 10
Joined: December 10th, 2008, 12:43 pm

Re: $wgEnableMWSuggest

Post by jellings »

I haven't had enough time to look at the code, but I've noticed the following issues:

- Suggest results in the top right search box are not clickable (FF)
- Suggest results on the Search page itself are clickable but do not return the proper search results.

For example, searching for Conrad should return results, including one for Conrad Schultz (?-1849).
When you click the link Suggested result on the Search page, I get the following:

There were no results matching the query.
There is a page named "Conrad Schultz (?-1849)" on this wiki

http://beta.mountmoriah.info/index.php? ... ced+search

The expected behavior is that there should be a Page Title Match but there is not.

Has any further development taken place with GuMax to try and solve this?

John
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: $wgEnableMWSuggest

Post by Paul »

Have you tried the latest skin GuMax?
User avatar
stefahn
Rank 0
Rank 0
Posts: 4
Joined: November 5th, 2010, 6:57 am

Re: $wgEnableMWSuggest

Post by stefahn »

Hi Paul,

on my wiki (http://geld-verdienen-wiki.de) I also can't click on the first three suggestions (it's the same on paulgu.com by the way!).
The other suggestions work properly and you'll get the right article when you click on them.
I'm using GuMaxVN and firefox 3.6.13.

You know how we can fix the "clickable bug"?

BTW: Thanks so much for your skin! :)
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: $wgEnableMWSuggest

Post by Paul »

Hmm.... it seems odd... I will check this...
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: $wgEnableMWSuggest

Post by Paul »

I found the problem:

in gumax_template.css, find this section:

Code: Select all

#gumax-header
{
	/* border: 1px solid #CC0033; /* debuging */
	position: relative;
	z-index: 100;  /* make logo visible over content */
	padding: 0 22px; /* same as content padding */
	margin: 0;
	overflow: visible;
}
remove this line:

Code: Select all

position: relative;
It should work as normal..........
User avatar
stefahn
Rank 0
Rank 0
Posts: 4
Joined: November 5th, 2010, 6:57 am

Re: $wgEnableMWSuggest

Post by stefahn »

Hi Paul,

that's it - thanks a lot!
Works like a charm now :)

Have a nice day and thanks again.
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

Re: $wgEnableMWSuggest

Post by Jonathan »

Using MW1.18 and GumaxDD 1.5.2. I have just set $wgEnableMWSuggest to true. It works fine in the Special:Search page but when I type a character in to the 'skin' search box on the top right I get the following error message instead. In IE9:

Code: Select all

SCRIPT5007: Unable to get value of the property 'length': object is null or undefined 
Special:Search?search=a&fulltext=Search, line 1 character 1
In Chrome 16:

Code: Select all

Uncaught TypeError: Cannot read property 'length' of undefined................load.php:38
window.os_getNamespaces..................load.php:38
window.os_delayedFetch..............load.php:38
(anonymous function)
It works fine with the Vector skin, with no errors. What might be wrong?
Post Reply