Content deleted Content added
ok here we go here is some rewreite |
add -sand for a minute |
||
Line 27:
local search_phrase_encoded = urlencode(args[1] or 'example phrase')
local short_module_args = {
class = 'template-search-sand plainlinks',
make_link('//en.wikipedia.org/w/index.php?title=Special:Search&search=' .. search_phrase_encoded, 'Wikipedia', 'wp'),
make_link('https://www.google.com/search?q=' .. search_phrase_encoded, 'Google', 'g'),
Line 33:
}
local long_module_args = {
class = 'template-search-sand plainlinks',
make_link('//en.wikipedia.org/w/index.php?title=Special:Search&search=' .. search_phrase_encoded, 'Wikipedia', 'wp'),
make_link('https://www.google.com/search?q=site%3Awikipedia.org+' .. search_phrase_encoded, 'Wikipedia over Google', 'gwp'),
|