![]() A screenshot of a page with EnhancedSearchPage installed | |
Description | Adds features to Special:Search |
---|---|
Author(s) | JAAqqO |
Status | Stable |
First released | 29 October 2021 |
Updated | 12 April 2024 |
Browser support | Firefox, Chrome |
Skin support | Default skin ( Vector 2022), Vector |
Source | User:JAAqqO/EnhancedSearchPage.js |
EnhancedSearchPage ( source) is a script that adds useful features to the search page Special:Search. Most importantly, it adds buttons to copy the search results to the clipboard.
You can use script-installer to install this script. If you don't have script-installer installed yet:
Alternatively, you can also just add the following line:
{{subst:Install user script|User:JAAqqO/EnhancedSearchPage.js}}
If the "The document contains errors. Are you sure you want to publish?
" warning appears when trying to save the page, just click "OK".
And now the script should work: test it.
It is possible to install this script in other wikis too. Also, it's possible to use it without having to be logged in. See this section for instructions.
Article
Article 2
Article 3
* [[Article]]
* [[Article 2]]
* [[Article 3]]
https://petscan.wmflabs.org/?active_tab=tab_other_sources&manual_list=Article%0AArticle%202%0AArticle%203&manual_list_wiki=enwiki&project=wikipedia&language=en&doit=
https://petscan.wmflabs.org/?active_tab=tab_other_sources&ns%5B0%5D=1&search_query=Article&search_wiki=enwiki&search_max_results=10000&project=wikipedia&language=en&doit=
Leave bug reports or feature suggestions on the talk page.
Install this script in other wikis by adding the following line:
importScript( 'en:User:JAAqqO/EnhancedSearchPage.js' ); // Backlink: [[:en:User:JAAqqO/EnhancedSearchPage.js]]
to your common.js page in that wiki, i.e. change the XY in the following URL to correspond your wiki:
Note that the script might not work perfectly in other wikis since this script is tested only on en-wiki and fi-wiki.
You don't have to be logged in to use this script: First install the browser extension Tampermonkey, then click the extension's "Create a new script", and then add this code to that new script page:
// ==UserScript==
// @name EnhancedSearchPage.js
// @namespace https://en.wikipedia.org/?title=User:JAAqqO/EnhancedSearchPage.js
// @match https://en.wikipedia.org/w/*
// ==/UserScript==
mw.loader.load( 'https://en.wikipedia.org/?title=User:JAAqqO/EnhancedSearchPage.js&action=raw&ctype=text/javascript' );
After you save the script page, the script should work.
Note that you can alter the following line:
// @match https://en.wikipedia.org/w/*
to use the script in other wikis too, e.g.
// @match https://en.wikipedia.org/w/*
// @match https://fi.wikipedia.org/w/*
Note that the script might not work perfectly in other wikis since this script is tested only on en-wiki and fi-wiki.
![]() A screenshot of a page with EnhancedSearchPage installed | |
Description | Adds features to Special:Search |
---|---|
Author(s) | JAAqqO |
Status | Stable |
First released | 29 October 2021 |
Updated | 12 April 2024 |
Browser support | Firefox, Chrome |
Skin support | Default skin ( Vector 2022), Vector |
Source | User:JAAqqO/EnhancedSearchPage.js |
EnhancedSearchPage ( source) is a script that adds useful features to the search page Special:Search. Most importantly, it adds buttons to copy the search results to the clipboard.
You can use script-installer to install this script. If you don't have script-installer installed yet:
Alternatively, you can also just add the following line:
{{subst:Install user script|User:JAAqqO/EnhancedSearchPage.js}}
If the "The document contains errors. Are you sure you want to publish?
" warning appears when trying to save the page, just click "OK".
And now the script should work: test it.
It is possible to install this script in other wikis too. Also, it's possible to use it without having to be logged in. See this section for instructions.
Article
Article 2
Article 3
* [[Article]]
* [[Article 2]]
* [[Article 3]]
https://petscan.wmflabs.org/?active_tab=tab_other_sources&manual_list=Article%0AArticle%202%0AArticle%203&manual_list_wiki=enwiki&project=wikipedia&language=en&doit=
https://petscan.wmflabs.org/?active_tab=tab_other_sources&ns%5B0%5D=1&search_query=Article&search_wiki=enwiki&search_max_results=10000&project=wikipedia&language=en&doit=
Leave bug reports or feature suggestions on the talk page.
Install this script in other wikis by adding the following line:
importScript( 'en:User:JAAqqO/EnhancedSearchPage.js' ); // Backlink: [[:en:User:JAAqqO/EnhancedSearchPage.js]]
to your common.js page in that wiki, i.e. change the XY in the following URL to correspond your wiki:
Note that the script might not work perfectly in other wikis since this script is tested only on en-wiki and fi-wiki.
You don't have to be logged in to use this script: First install the browser extension Tampermonkey, then click the extension's "Create a new script", and then add this code to that new script page:
// ==UserScript==
// @name EnhancedSearchPage.js
// @namespace https://en.wikipedia.org/?title=User:JAAqqO/EnhancedSearchPage.js
// @match https://en.wikipedia.org/w/*
// ==/UserScript==
mw.loader.load( 'https://en.wikipedia.org/?title=User:JAAqqO/EnhancedSearchPage.js&action=raw&ctype=text/javascript' );
After you save the script page, the script should work.
Note that you can alter the following line:
// @match https://en.wikipedia.org/w/*
to use the script in other wikis too, e.g.
// @match https://en.wikipedia.org/w/*
// @match https://fi.wikipedia.org/w/*
Note that the script might not work perfectly in other wikis since this script is tested only on en-wiki and fi-wiki.