Jump to content

User:Δ/Google Books.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
if(wgNamespaceNumber==0) mw.util.addPortletLink('p-tb', 'http://toolserver.org/~betacommand/cgi-bin/gb.py?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fixes=bb&fixes=tcb&fixes=gbc&fixes=cb', 'All Google Book Fixes');
if(wgNamespaceNumber==0) mw.util.addPortletLink('p-tb', 'http://toolserver.org/~betacommand/cgi-bin/gb.py?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fixes=cb', 'Update cite book');
if(wgNamespaceNumber==0) mw.util.addPortletLink('p-tb', 'http://toolserver.org/~betacommand/cgi-bin/gb.py?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fixes=gbc', 'Convert Google URL');
if(wgNamespaceNumber==0) mw.util.addPortletLink('p-tb', 'http://toolserver.org/~betacommand/cgi-bin/gb.py?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fixes=tcb', 'Convert bare reference');
if(wgNamespaceNumber==0) mw.util.addPortletLink('p-tb', 'http://toolserver.org/~betacommand/cgi-bin/gb.py?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fixes=bb', 'Convert Bare Book');