[Mediawiki-l] wgAjaxSearch

Adam Meyer meyer7 at mindspring.com
Mon Jan 14 11:37:17 UTC 2008


The ajax search simply lists articles that exist before you search. If  
you hit search and the article does not exist, you are still given the  
option to create a new one.

-Adam

On Jan 13, 2008, at 9:48 AM, Dan Thomas wrote:

> Adam -- i would like to learn more...  how does it handle option to
> create a new page?  Dan
>
> On Jan 12, 2008 4:08 PM, Adam Meyer <meyer7 at mindspring.com> wrote:
>> So for anyone who cares about the ajax search. I figured it out.
>> The ajax call is made by ajax.js and calls the search,  but also
>> directs it where to go.
>> I modified the code to go into a div under the search on the side.
>> Works well, and it seems really fast.
>>
>> Anyone interested, I can give you more detailed information.
>>
>> -Adam
>>
>>
>>
>>
>>
>> On Jan 11, 2008, at 8:28 AM, Adam Meyer wrote:
>>
>>> I have been playing with the wgAjaxSearch feature.
>>>
>>> I like the results, and speed, but I hate how it is displayed. It
>>> takes over the page.
>>>
>>> Id like it to be done like it is on my site ( www.risdpedia.net  ),
>>> but I am using this huge yahoo script to do it. (see the search on  
>>> the
>>> left side).
>>>
>>> I see that function wfSajaxSearch in Axaxfunctions.php passes the
>>> variable $html to somewhere. but where is it passed to?
>>>
>>> Id like to see if I can recode it to be put under the search bar, so
>>> it does not completely take over the page you are on when it  
>>> happens.
>>>
>>> It should be quite simple if I can just locate where it is being
>>> processed.
>>>
>>> Thanks,
>>> -Adam
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l at lists.wikimedia.org
>>> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
>
>
> -- 
> --
> Dan Thomas
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list