Jump to content

User:BrandonXLF/FindSources

From Wikipedia, the free encyclopedia
< BrandonXLF's scripts |
Find Sources
DescriptionAdds a bar below the page title to find sources
Find Sources adds {{Find sources mainspace}} below the title of articles you view to make it easier to find sources.
Author(s)User:BrandonXLF
StatusWorking
First releasedDecember 14, 2019
SourceFindSources.js (git)
GitHub repositorywikipedia-user-scripts

Find Sources adds {{Find sources mainspace}} below the title of articles you view to make it easier to find sources.

Installation

importScript('User:BrandonXLF/FindSources.js'); // [[User:BrandonXLF/FindSources.js]]
  • Alternatively, use the following instead of the above:
mw.loader.load('/w/index.php?title=User:BrandonXLF/FindSources.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/FindSources.js]]
  • To install on other wikis (for instance, globally in your global.js on the Meta-Wiki), use the following code:
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/FindSources.js&action=raw&ctype=text/javascript');
  • After installing reload the page and clear your cache

Comments/Bugs

Comments are welcome on my talk page, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better.