Topic on Extension talk:UniversalSuggester

80.13.76.57 (talkcontribs)

Bug while searching on category with only one letter

There is an error when searching on category with only one letter : no defined variables in US_SuggesterCategory_class.php !

A workaroundis to specify variables as global at the beginnig of function getResults (they're intialized in US_RequestManager_class.php/getResults):

global $a_conditions, $a_selectFields, $s_results;

Change Semantic MediaWiki namespace

The SMW namespace is defined in US_SuggesterAttribute_class.php with the value "202". But it can change ! To have Attribute search work all time, just replace this value with SMW_NS_PROPERTY.

$a_conditions[] = 'smw_namespace = '.SMW_NS_PROPERTY;
Cagey83 (talkcontribs)
Reply to "Bugs"