Difference between revisions of "Module:Find sources/links/google news"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(create config for Google News)
 
blackwiki>Mr. Stradivarius
(make the URL protocol-relative)
Line 1: Line 1:
 
return {
 
return {
url = 'http://www.google.com/search?q=$1&tbm=nws',
+
url = '//www.google.com/search?q=$1&tbm=nws',
 
display = 'Google News'
 
display = 'Google News'
 
}
 
}

Revision as of 06:28, 26 September 2014


return {
	url = '//www.google.com/search?q=$1&tbm=nws',
	display = 'Google News'
}