From MediaWiki Widgets

YacyLiveSearch widget
Description:Allows you to add a YaCy live search form
Updated:December 5, 2016
If you use code on your wiki which is older than this date you may want to update since your widget may be insecure or broken.
Inv-Icon tools.svg.png

To copy this widget to your wiki, cut and paste the entire source of the YacyLiveSearch widget code page into a page called Widget:YacyLiveSearch on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on and follow the installation instructions.

This very simple widget allows you to add a YaCy live search form to your wiki page. "YaCy is a free search engine that anyone can use to build a search portal for their intranet or to help search the public internet" (self description). This widget is useful if you want to include the YaCy live search form of a YaCy peer (self hosted or another) in a MediaWiki page.

To insert this widget, use the following code:


Important: Adapt the Code

You must change the IP or URL of your preferred Yacy peer in widget code for your needs. Default is "" which works only if you host your YaCy engine on your Desktop computer!

The default widget code works only if you use a MediaWiki version which uses JQuery per default (this should be MW >=1.17)! If you host a MW version without JQuery you should add before the first "<script>" tag:

<script src="//" type="text/javascript"></script>

You must the also change the IP to your needs.

Hint: To avoid security risks you should prefer embedding IP or URL of your self hosted YaCy peer!

Sample result

Because of security reasons and it could not be ensured that the example YaCy peer exists yet, there isn't a live example available.


blog comments powered by Disqus