User:Agathoclea/vector.js

/*  The following script places a button at the top of any list of sites on the National Register of Historic Places (NRHP). When the button is clicked, the script looks in commons:Category:National Register of Historic Places with known IDs to find any matches to the sites on the current list. If any are found, the user is prompted to add them or decline. After all matches have been considered, the script edits the page to add in the commonscat links the user chose. importScript('User:Dudemanfellabra/AddCommonsCatLinks.js');