MediaWiki:Graph.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,011: Line 1,011:
function unique(){
function unique(){
   if (typeof getAllUrlParams().title  !== 'undefined'){
   if (typeof getAllUrlParams().title  !== 'undefined'){
     if (getAllUrlParams().title.length >0 && getAllUrlParams().title[0] != "Main_Page" && getAllUrlParams().title[0] != "Graphs" ){
    var titre= getAllUrlParams().title[0];
      console.log({titre});
     if (getAllUrlParams().title.length >0 && getAllUrlParams().title[0] != "Main_Page" && getAllUrlParams().title[0] != "Graphs" )
       for (i=0;i<zooData.length;i++){
       for (i=0;i<zooData.length;i++){
         if ( typeof zooData[i].uri  !== 'undefined'){
         if ( typeof zooData[i].uri  !== 'undefined'){
299

edits