RSP-to-JSON (source) is a user script that converts the English Wikipedia's perennial sources list into a structured JSON file. This can be helpful for anyone wanting RSP data in a more structured form, for the sake of building tools, research, etc.
To install, add the following to User:<YourUserName>/common.js...
{{subst:lusc|User:SuperHamster/rsp-to-json.js}}
...and save the page. You can ignore any warnings that pop up; once you save the page, the template will be replaced with the correct syntax to import the script.
Once installed, after visiting the perennial sources list, you should see a dropdown right above the table. There will be two options:
Selecting an option will silently convert the RSP table into JSON and copy it to your clipboard, ready to be used wherever your heart desires.
The copied JSON will be an array of objects. Each object represents a listing with the following fields.
Note that some sources appear multiple times in the array. For example, Fox News appears three times in different contexts ("Fox News (news excluding politics and science)", "Fox News (politics and science)", and "Fox News (talk shows)").
generally reliable
, generally unreliable
, deprecated
, or no consensus
General
, Request for comment
, Spam blacklist request
.inline
or footnote
.Here is an example listing for NME (as of April 15, 2025):
{ "name": "NME", "link": "https://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/NME", "shortcuts": [ "WP:RSPNME" ], "status": "generally reliable", "blacklisted": false, "discussions": [ { "link": "https://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Wikipedia:Reliable_sources/Noticeboard/Archive_26#Rolling_Stone,_NME,_Popmatters_and_Metal-Observer", "type": "General", "display": "inline", "label": "1" }, { "link": "https://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Wikipedia:Reliable_sources/Noticeboard/Archive_318#New_Musical_Express_/_NME_/_www.nme.com", "type": "General", "display": "inline", "label": "2" } ], "lastDiscussed": "2020", "summary": "There is consensus that British publication NME is generally reliable for content related to its areas of expertise, which include music.", "summary_wikitext": "There is consensus that British publication ''NME'' is generally reliable for content related to its areas of expertise, which include music.", "domains": [ "nme.com" ] }
This tool was built as part of a grant project to expand CiteUnseen, funded by Wikimedia Switzerland.