[Mediawiki-l] Add parameters to a internal Search across a internal link

Thomas Gries mail at tgries.de
Wed Jan 27 18:28:04 UTC 2010


Am 27.01.2010 14:47, schrieb Juan Jesús Cremades Monserrat:
> I'm triying to create a Internal Link which result will be a search. Until
> now, I've written this: [[Special:Search *|* the_word_I_search]]
>
> I want that this link do not go to Special:Search else the result of the
> search. Thanks!!
If you are Sysop or if your wiki has the Extension:Interwiki [1] activated for you, you can add an Interwiki link like


wikisearch (example)  = 
http://en.wikipedia.org/w/index.php?title=Special%3ASearch&fulltext=Search&search=$1 
(example)
and use [[wikisearch:foo|fulltext search for "foo"]] on your pages

Is this what you wanted?

[1] http://www.mediawiki.org/wiki/Extension:Interwiki Special "View (and 
edit) Interwiki links"



More information about the MediaWiki-l mailing list