Commit 11f97910 authored by Jim Tittsler's avatar Jim Tittsler
Browse files

search text rather than titles

This is so a search for 'word' has a better chance of finding
an image like 'word.jpg' (presuming 'word' is used in the text
of the description).
parent 4eb1979b
......@@ -148,6 +148,7 @@ class wikieducator {
$this->_param['gsrsearch'] = $keyword;
$this->_param['gsrnamespace'] = WIKIEDUCATOR_FILE_NS;
$this->_param['gsrlimit'] = WIKIEDUCATOR_THUMBS_PER_PAGE;
$this->_param['gsrwhat'] = 'text';
$this->_param['prop'] = 'imageinfo';
$this->_param['iiprop'] = 'url|size|mime';
$this->_param['iiurlwidth'] = WIKIEDUCATOR_IMAGE_SIDE_LENGTH;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment