Hello,
I need to embed a widget allowing searching our wiki from another page. Hitting search button will open our wiki to display results.
How would you advise doing this?
http://www.wikipedia.org is doing this calling search-redirect.php. I don't have this script availaible in my 1.15 copy. Any pointer about where to find it?
Many thanks hka.
HKAirpost wrote:
Hello,
I need to embed a widget allowing searching our wiki from another page. Hitting search button will open our wiki to display results.
How would you advise doing this?
http://www.wikipedia.org is doing this calling search-redirect.php. I don't have this script availaible in my 1.15 copy. Any pointer about where to find it?
Many thanks hka.
<form action="/yourwiki/w/index.php?title=Special%3ASearch" method="get"> <input name="search" type="text" /> <input value="Search now!" type="submit" /> </form>
Platonides, does have a similar solution for 1.14 version?
2010/9/15 Platonides Platonides@gmail.com
HKAirpost wrote:
Hello,
I need to embed a widget allowing searching our wiki from another page. Hitting search button will open our wiki to display results.
How would you advise doing this?
http://www.wikipedia.org is doing this calling search-redirect.php. I don't have this script availaible in my 1.15 copy. Any pointer about where to find it?
Many thanks hka.
<form action="/yourwiki/w/index.php?title=Special%3ASearch" method="get"> <input name="search" type="text" /> <input value="Search now!" type="submit" /> </form>
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I'm pretty sure that solution should work for most recent versions of mediawiki
Simon (stwalkerster)
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of nevio carlos de alarcão Sent: 15 September 2010 16:21 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Display our wiki search box on another page
Platonides, does have a similar solution for 1.14 version?
2010/9/15 Platonides Platonides@gmail.com
HKAirpost wrote:
Hello,
I need to embed a widget allowing searching our wiki from another page. Hitting search button will open our wiki to display results.
How would you advise doing this?
http://www.wikipedia.org is doing this calling search-redirect.php. I don't have this script availaible in my 1.15 copy. Any pointer about where to find it?
Many thanks hka.
<form action="/yourwiki/w/index.php?title=Special%3ASearch" method="get"> <input name="search" type="text" /> <input value="Search now!" type="submit" /> </form>
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks...Oh my friend, I haven't been willing to go through the updating process. :-(
2010/9/15 Platonides Platonides@gmail.com
nevio carlos de alarcão wrote:
Platonides, does have a similar solution for 1.14 version?
That works on pretty much every mediawiki version. But why would you use such old, unsafe and unsupported version? :)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org