Last modified: 2012-05-29 06:25:41 UTC
Hi! The intnded safty google trailer "&oq=" is at the wrong position. This might be a google issue. We should use "&spell=0" as safty trailer. Example for vIAf:96213928 "G" link: https://encrypted.google.com/search?ie=utf-8&oe=utf-8&num=100<=1&q=vIAf+AND+%2296213928%22&spell=0 "GWP link: https://encrypted.google.com/search?ie=utf-8&oe=utf-8&num=100<=1&q=site:wikipedia.org+vIAf+AND+%2296213928%22&spell=0 Example for gNd:118764527 "G" link: https://encrypted.google.com/search?ie=utf-8&oe=utf-8&num=100<=1&q=%28gNd+OR+pNd+OR+gKd+OR+sWd%29+AND+%22118764527%22&spell=0 "GWP link: https://encrypted.google.com/search?ie=utf-8&oe=utf-8&num=100<=1&oq=&q=site:wikipedia.org+%28gNd+OR+pNd+OR+gKd+OR+sWd%289+AND+%22118764527%22 &spell=0 Best regards Reinhardt
(In reply to comment #0) > "GWP link: > https://encrypted.google.com/search?ie=utf-8&oe=utf-8&num=100<=1&oq=&q=site:wikipedia.org+%28gNd+OR+pNd+OR+gKd+OR+sWd%289+AND+%22118764527%22 > &spell=0 should read: https://encrypted.google.com/search?ie=utf-8&oe=utf-8&num=100<=1&oq=&q=site:wikipedia.org+%28gNd+OR+pNd+OR+gKd+OR+sWd%29+AND+%22118764527%22&spell=0 ---- note: the ">" isnsercion made by bugzilla is wrong.
(In reply to comment #0) > Hi! The intnded safty google trailer "&oq=" is at the wrong position. This > might be a google issue. Which VIAF script version are you referring to ? The 1.16 has &oq= just before the &q= parameter. Please *always* indicate briefly + your VIAF version (the current is 1.16; pls. make sure to have your browser cache cleared and the correct bootloader installed) + link - which you think is wrong + link - as you want to have it changed
+ &spell=0 fixed in version 1.17 + pls. check script working on https://de.wikipedia.org/wiki/Carlos_Fuentes
Hi! a) google does not accept anchors. This is why the "safety trailers" for google is a valid google parameter while it is an anchor for other link types generated by the bookmarklet. b) I still can see "&oq=" in the google links. Please verify the source code. I will double check. Best regards Reinhardt
(In reply to comment #4) > Hi! > > a) google does not accept anchors. This is why the "safety trailers" for google > is a valid google parameter while it is an anchor for other link types > generated by the bookmarklet. parts after#are not transmitted to server > > b) I still can see "&oq=" in the google links. Please verify the source code. I > will double check. you wanted to have this.
Please explain ***exactly***, how you want me to change the 4 (four) google links in lines 420 ... 460 http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/viaf/viaf.js?view=markup .
fixed in v1.22
Thanks a lot! Best regards Reinhardt