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.
importScript('User:Magog the Ogre/cleanup.js');// Recherche d'images sur Flickr à partir d'une catégoriefunctionFlickr(){vartitle=document.getElementById("firstHeading").textContent.substring(9);vara=document.getElementById("p-tb");if(a){b=a.getElementsByTagName("ul");if(b.length>0){b[0].innerHTML=b[0].innerHTML+'<li><span id="flickr">'+'<a href="http://www.flickr.com/search/?q='+title+'%E2%80%8E&l=commderiv&ct=0&mt=all&adv=1">'+'Flickr</a></span> </li>'}}}$(Flickr);functionNoCat(){vartitle=document.getElementById("firstHeading").textContent.substring(9);varsearch=encodeURIComponent('"'+title+'" -incategory:"'+title+'"')vara=document.getElementById("p-tb");if(a){b=a.getElementsByTagName("ul");if(b.length>0){b[0].innerHTML=b[0].innerHTML+'<li><span id="nocat">'+'<a href="https://commons.wikimedia.org/w/index.php?search='+search+'">'+'NoCat</a></span> </li>'}}}$(NoCat);