_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

User:Bradv/SearchLinks.js

In the world of User:Bradv/SearchLinks.js, there is a wide range of topics, discussions and opinions that revolve around their relevance and impact on society. For a long time, User:Bradv/SearchLinks.js has been the object of interest and debate, generating endless research, analysis and reflections both in the academic field and in the general public. Its influence extends to diverse fields, from politics and economics to culture and technology, each bringing a unique perspective on the meaning and importance of User:Bradv/SearchLinks.js in our daily lives. In this article, we will explore different facets of User:Bradv/SearchLinks.js and its impact on contemporary society, with the aim of offering a panoramic view of its complexity and its impact on our lives.
(function ( $, mw ) {
    var ns = mw.config.get('wgCanonicalNamespace');
    if (ns === "Special")
        return;  // no links for special pages

    mw.loader.using().then(function () {
        var title = mw.config.get('wgTitle');
        if (ns !== "")
            title = title.replace(/^.*\//, "");  // subpage name only
 
        var query = encodeURIComponent(title); 
        mw.util.addPortletLink('p-tb', 
            'https://www.google.com/search?as_eq=wikipedia&q=%22'+query+'%22&num=50',
            'Google', 
            't-googlesearch', 
            'Search Google for "'+title+'"', 'G');
        mw.util.addPortletLink('p-tb', 
            'https://www.google.com/search?tbm=nws&q=%22'+query+'%22+-wikipedia',
            'news', 
            't-googlenewssearch', 
            'Search Google News for "'+title+'"');
        mw.util.addPortletLink('p-tb', 
            'https://www.google.com/search?&q=%22'+query+'%22+site:news.google.com/newspapers&source=newspapers',
            'newspapers', 
            't-googlenewspapersearch', 
            'Search newspapers for "'+title+'"');
        mw.util.addPortletLink('p-tb', 
            'https://www.google.com/search?tbs=bks:1&q=%22'+query+'%22+-wikipedia',
            'books', 
            't-googlebookssearch', 
            'Search Google Books for "'+title+'"');
        mw.util.addPortletLink('p-tb', 
            'https://scholar.google.com/scholar?q=%22'+query+'%22',
            'scholar', 
            't-googlescholarsearch', 
            'Search Google Scholar for "'+title+'"');
        mw.util.addPortletLink('p-tb', 
            'https://www.jstor.org/action/doBasicSearch?Query=%22'+query+'%22&acc=on&wc=on',
            'JSTOR', 
            't-jstor', 
            'Search JSTOR for "'+title+'"');
    });
} (jQuery, mediaWiki ));

/*
$(function () {
    if (wgCanonicalNamespace == "Special")
        return;  // no links for special pages
    var title = wgTitle;
    if (wgCanonicalNamespace !== "")
        title = title.replace(/^.*\//, "");  // subpage name only
    var query = encodeURIComponent(title); 
    mw.util.addPortletLink('p-tb', 'https://www.google.com/search?as_eq=wikipedia&q=%22'+query+'%22&num=50',
                   'Google', 't-googlesearch', 'Search Google for "'+title+'"', 'G');
    mw.util.addPortletLink('p-tb', 'https://www.google.com/search?tbm=nws&q=%22'+query+'%22+-wikipedia',
                   'news', 't-googlenewssearch', 'Search Google News for "'+title+'"');
    mw.util.addPortletLink('p-tb', 'https://www.google.com/search?&q=%22'+query+'%22+site:news.google.com/newspapers&source=newspapers',
                   'newspapers', 't-googlenewspapersearch', 'Search newspapers for "'+title+'"');
    mw.util.addPortletLink('p-tb', 'https://www.google.com/search?tbs=bks:1&q=%22'+query+'%22+-wikipedia',
                   'books', 't-googlebookssearch', 'Search Google Books for "'+title+'"');
    mw.util.addPortletLink('p-tb', 'https://scholar.google.com/scholar?q=%22'+query+'%22',
                   'scholar', 't-googlescholarsearch', 'Search Google Scholar for "'+title+'"');
    mw.util.addPortletLink('p-tb', 'https://www.jstor.org/action/doBasicSearch?Query=%22'+query+'%22&acc=on&wc=on',
                   'JSTOR', 't-jstor', 'Search JSTOR for "'+title+'"');
});
*//*
https://www.google.com/search?as_eq=wikipedia&q=%22'+query+'%22&num=50
https://www.google.com/search?tbm=nws&q=%22'+query+'%22+-wikipedia
https://www.google.com/search?&q=%22'+query+'%22+site:news.google.com/newspapers&source=newspapers
https://www.google.com/search?tbs=bks:1&q=%22'+query+'%22+-wikipedia
https://scholar.google.com/scholar?q=%22'+query+'%22
https://www.jstor.org/action/doBasicSearch?Query=%22'+query+'%22&acc=on&wc=on
*/