Could we do this to add a 'Mayflower' button?
cheers Brianna user:pfctdayelise
---------- Forwarded message ---------- From: min Sui wm.suisui@gmail.com Date: 20-Feb-2007 15:39 Subject: Re: [Foundation-l] Support WMF via GoodSearch To: Wikimedia Foundation Mailing List foundation-l@lists.wikimedia.org
Hi.
I made a quick javaScript hack for Special:Search from french wikipedia -> http://fr.wikipedia.org/wiki/MediaWiki:Monobook.js
this shows like this -> http://test.wikipedia.org/wiki/Special:Search it's shows this way. 1. input word(s) to search box 2. click search and select search engine you like, will make result search from paticuler project. ( my script points to ja.wikipedia.org you can change it ;) and the source is here -> http://test.wikipedia.org/wiki/MediaWiki:Common.js anyone can use it freely.
thanks.
suisui suisui@gmail.com
2007/2/15, the wub thewub.wiki@googlemail.com:
You can also use a link like http://www.goodsearch.com/?charityid=812661http://www.goodsearch.com/?charityid=xxxthat links to the search page with WMF pre-selected, which will be good to promote this. ** http://www.goodsearch.com/?charityid=xxx _______________________________________________ foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
_______________________________________________ foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
Hi.
I added MayFlower part to .js. http://test.wikipedia.org/wiki/MediaWiki:Common.js last part of it
>var mayflowero = new Object(); > mayflowero["t"] = "n"; > engine = SearchForm("MayFlower", >"http://tools.wikimedia.de/~tangotango/mayflower/index.php", >"http://tools.wikimedia.de/~tangotango/mayflower/mayflower-logo.png", > "http://tools.wikimedia.de/~tangotango/mayflower/search.php", > "q", "", mayflowero); > div.appendChild(engine);
is for MayFlower, you can select / add / delete what engine you want to use.
if you have a good-sized logo of Mayflower, it will be more nicer, tangotango ;)
Suisui suisui@gmail.com
2007/2/20, Brianna Laugher brianna.laugher@gmail.com:
Could we do this to add a 'Mayflower' button?
cheers Brianna user:pfctdayelise
---------- Forwarded message ---------- From: min Sui wm.suisui@gmail.com Date: 20-Feb-2007 15:39 Subject: Re: [Foundation-l] Support WMF via GoodSearch To: Wikimedia Foundation Mailing List foundation-l@lists.wikimedia.org
Hi.
I made a quick javaScript hack for Special:Search from french wikipedia -> http://fr.wikipedia.org/wiki/MediaWiki:Monobook.js
this shows like this -> http://test.wikipedia.org/wiki/Special:Search it's shows this way.
- input word(s) to search box
- click search
and select search engine you like, will make result search from paticuler project. ( my script points to ja.wikipedia.org you can change it ;) and the source is here -> http://test.wikipedia.org/wiki/MediaWiki:Common.js anyone can use it freely.
thanks.
suisui suisui@gmail.com
2007/2/15, the wub thewub.wiki@googlemail.com:
You can also use a link like http://www.goodsearch.com/?charityid=812661http://www.goodsearch.com/?charityid=xxxthat links to the search page with WMF pre-selected, which will be good to promote this. ** http://www.goodsearch.com/?charityid=xxx _______________________________________________ foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
Commons-l mailing list Commons-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/commons-l
Hi. I forgot one thing. you can see it here -> http://test.wikipedia.org/wiki/Special:Search
thanks.
suisui wm.suisui@gmail.com
07/02/20 に min Suiwm.suisui@gmail.com さんは書きました:
Hi.
I added MayFlower part to .js. http://test.wikipedia.org/wiki/MediaWiki:Common.js last part of it
>var mayflowero = new Object(); > mayflowero["t"] = "n"; > engine = SearchForm("MayFlower", >"http://tools.wikimedia.de/~tangotango/mayflower/index.php", >"http://tools.wikimedia.de/~tangotango/mayflower/mayflower-logo.png", > "http://tools.wikimedia.de/~tangotango/mayflower/search.php", > "q", "", mayflowero); > div.appendChild(engine);
is for MayFlower, you can select / add / delete what engine you want to use.
if you have a good-sized logo of Mayflower, it will be more nicer, tangotango ;)
Suisui suisui@gmail.com
2007/2/20, Brianna Laugher brianna.laugher@gmail.com:
Could we do this to add a 'Mayflower' button?
cheers Brianna user:pfctdayelise
---------- Forwarded message ---------- From: min Sui wm.suisui@gmail.com Date: 20-Feb-2007 15:39 Subject: Re: [Foundation-l] Support WMF via GoodSearch To: Wikimedia Foundation Mailing List foundation-l@lists.wikimedia.org
Hi.
I made a quick javaScript hack for Special:Search from french wikipedia -> http://fr.wikipedia.org/wiki/MediaWiki:Monobook.js
this shows like this -> http://test.wikipedia.org/wiki/Special:Search it's shows this way.
- input word(s) to search box
- click search
and select search engine you like, will make result search from paticuler project. ( my script points to ja.wikipedia.org you can change it ;) and the source is here -> http://test.wikipedia.org/wiki/MediaWiki:Common.js anyone can use it freely.
thanks.
suisui suisui@gmail.com
2007/2/15, the wub thewub.wiki@googlemail.com:
You can also use a link like http://www.goodsearch.com/?charityid=812661http://www.goodsearch.com/?charityid=xxxthat links to the search page with WMF pre-selected, which will be good to promote this. ** http://www.goodsearch.com/?charityid=xxx _______________________________________________ foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
Commons-l mailing list Commons-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/commons-l
Thanks Suisui, it's awesome!
One last note - is it possible to have different button labels depending on the user's language setting?
cheers Brianna
On 20/02/07, min Sui wm.suisui@gmail.com wrote:
Hi. I forgot one thing. you can see it here -> http://test.wikipedia.org/wiki/Special:Search
thanks.
suisui wm.suisui@gmail.com
07/02/20 に min Suiwm.suisui@gmail.com さんは書きました:
Hi.
I added MayFlower part to .js. http://test.wikipedia.org/wiki/MediaWiki:Common.js last part of it
>var mayflowero = new Object(); > mayflowero["t"] = "n"; > engine = SearchForm("MayFlower", >"http://tools.wikimedia.de/~tangotango/mayflower/index.php", >"http://tools.wikimedia.de/~tangotango/mayflower/mayflower-logo.png", > "http://tools.wikimedia.de/~tangotango/mayflower/search.php", > "q", "", mayflowero); > div.appendChild(engine);
is for MayFlower, you can select / add / delete what engine you want to use.
if you have a good-sized logo of Mayflower, it will be more nicer, tangotango ;)
Suisui suisui@gmail.com
2007/2/20, Brianna Laugher brianna.laugher@gmail.com:
Could we do this to add a 'Mayflower' button?
cheers Brianna user:pfctdayelise
---------- Forwarded message ---------- From: min Sui wm.suisui@gmail.com Date: 20-Feb-2007 15:39 Subject: Re: [Foundation-l] Support WMF via GoodSearch To: Wikimedia Foundation Mailing List foundation-l@lists.wikimedia.org
Hi.
I made a quick javaScript hack for Special:Search from french wikipedia -> http://fr.wikipedia.org/wiki/MediaWiki:Monobook.js
this shows like this -> http://test.wikipedia.org/wiki/Special:Search it's shows this way.
- input word(s) to search box
- click search
and select search engine you like, will make result search from paticuler project. ( my script points to ja.wikipedia.org you can change it ;) and the source is here -> http://test.wikipedia.org/wiki/MediaWiki:Common.js anyone can use it freely.
thanks.
suisui suisui@gmail.com
2007/2/15, the wub thewub.wiki@googlemail.com:
You can also use a link like http://www.goodsearch.com/?charityid=812661http://www.goodsearch.com/?charityid=xxxthat links to the search page with WMF pre-selected, which will be good to promote this. ** http://www.goodsearch.com/?charityid=xxx _______________________________________________ foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
foundation-l mailing list foundation-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/foundation-l
Commons-l mailing list Commons-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/commons-l
Commons-l mailing list Commons-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/commons-l
Brianna Laugher wrote:
Thanks Suisui, it's awesome!
One last note - is it possible to have different button labels depending on the user's language setting?
cheers Brianna
Apply this to the js: -submit.value = "検索"; +submit.value = document.getElementsByName("fulltext")[0].value;
This should work, although i don't understand why 検索 is being shown as "Recherche".
On IE the search engines are one after other, so some line breaks should be added. Please use the international (*.com) version of the search engines, not the japanese.
Hi. thanks to reply.
I just updated script on test.wikipedia.org for commons.
http://test.wikipedia.org/wiki/Special:Search?uselang=de http://test.wikipedia.org/wiki/Special:Search?uselang=en http://test.wikipedia.org/wiki/Special:Search?uselang=fr anything you like. :D
2007/2/20, Platonides Platonides@gmail.com:
Brianna Laugher wrote:
Thanks Suisui, it's awesome!
One last note - is it possible to have different button labels depending on the user's language setting?
cheers Brianna
Apply this to the js: -submit.value = "検索"; +submit.value = document.getElementsByName("fulltext")[0].value;
I just put it , thanks.
This should work, although i don't understand why 検索 is being shown as "Recherche".
hm, I cant reproduce.. what language did you select? environment?
On IE the search engines are one after other, so some line breaks should be added.
yup, but currently, there's no good way to make linebreak without <br/> it immobilize when you change the window size. it's tooo bad. so i just lieave it.
Please use the international (*.com) version of the search engines, not the japanese.
check URL above.
thanks.
suisui suisui@gmail.com
Commons-l mailing list Commons-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/commons-l