Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// <nowiki>
 
 importScript('User:DerHexer/expandfilenames.js');
 importScript('User:Guandalug/addOTRS.js');
 importScript('User:Legoktm/massrename.js');
 importScript('User:Perhelion/massrename.js');
 importScript('User:Magnus Manske/sdc_tool.js');
 
   function newRequest()
   {
     try {
       if (window.XMLHttpRequest) {
         return new XMLHttpRequest();
       } else {
         return new ActiveXObject("MSXML2.XMLHTTP");
       }
     } catch (e) {
       return false;
     }
   }
 
function startscript() {
   var result = new Array();
   var country = prompt('Which country do you want to check?', 'Germany');
   var counter = 0;
   var continuehere = '2011-08-31T22:00:00Z';
 
 if(country){
  do {
   var req = newRequest();
   if (req) {
     var text = mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/api.php?action=query&format=xml&generator=categorymembers&gcmtitle=Category:Images_from_Wiki_Loves_Monuments_2011_in_'+country+'&gcmlimit=500&gcmsort=timestamp&gcmprop=timestamp|title&prop=imageinfo&iiprop=url&gcmstart='+continuehere+'&gcmend=2011-09-30T22:00:00Z';
     req.open("GET", text, false);
     req.send("");
 
     var allfiles = req.responseXML.getElementsByTagName("ii");
     for(i=0;i<allfiles.length;i++){
       result[counter] = allfiles[i].getAttribute('url');
       counter++;
     }
     if(!req.responseXML.getElementsByTagName("categorymembers")[0]) {
       continuehere = '';
     } else {
       continuehere = req.responseXML.getElementsByTagName("categorymembers")[0].getAttribute('gcmstart');
     }
   }
  } while (continuehere);
 document.body.innerHTML = result;
}

 }
 if ((wgAction == "edit") && (wgPageName == "Commons:Wiki_Loves_Monuments_2011/TriggerFileList")) addOnloadHook(startscript);
 
 // </nowiki>
//<nowiki>
//<nowiki>

//vFCvFCCfg/////////////////////////////////////
/////// VISUAL FILE CHANGE CONFIGURATION ///////
///// DO NOT MODIFY BY HAND - FINGERS AWAY! ////
////////////////////////////////////////////////
window.vFCSettings = {"userNote":"Yours sincerely,","firstTest":0,"testEdits":0,"defaultAction":"c_replace","watchlistUserTalk":"preferences","watchlistFiles":"preferences","watchlistReplace":"nochange","watchlistOTRS":"nochange","loadBatchSize":1000,"maxSimultaneousReq":10,"summaryChacheLen":5,"loadThumbs":true,"loadWikitext":true};
//////////////////////////////////vFCvFCCfgEnd//
//</nowiki>
//<nowiki>

//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation","redir_category":"Category redirects","watchlist":"preferences","minor":false,"editpages":false,"docleanup":false,"subcatcount":199,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>