Author: mgramlich
Description:
Dear team,
I installed mediawiki version 1.16.2 (updated from 1.16.0).
Then I added the extension "Usability Initiative".
Problem: I would like to use $wgVectorUseSimpleSearch = true;
but it is not working correctly.
In contrary to this website, where they use mediawiki 1.16.0 and the Usability Initiative extension and the simple search behaves as it should:
https://wiki.fh-giessen-friedberg.de/index.php/THM-Wiki
Trying to solve it ourselves,
we played a little around with the file
/extensions/UsabilityInitiative/Vector/Vector.combined.js
and found the lines
special: {
render: function( query ) { var perfectMatch = true; $j(this).closest( '.suggestions' ).find( '.suggestions-results div' ).each( function() { if ( $j(this).data( 'text' ) == query ) { perfectMatch = true; } } ); if ( perfectMatch ) {
Disabling "perfectMatch" we were able to force that the fulltext suggestion appearing in case the search string matches the start of a TITLE.
However we could not solve why the PAGE TEXT is not being considered.
No suggestion "containing..." displayed when typing a string.
Any idea where the problem originates from?
Thank you very much.
Markus
Version: unspecified
Severity: normal
URL: http://tianglo.thinkinnovation.de