Important: The GCConnex decommission will not affect GCCollab or GCWiki. Thank you and happy collaborating!

Changes

Jump to navigation Jump to search
no edit summary
Line 13: Line 13:  
     document.cookie = name + "=" + escape(value) + ";path=/" + ";expires=" + expires_date.toGMTString() + ";domain=.gccollab.ca;";
 
     document.cookie = name + "=" + escape(value) + ";path=/" + ";expires=" + expires_date.toGMTString() + ";domain=.gccollab.ca;";
 
}
 
}
 +
 +
$( document ).ready(function() {
    
var lang = getCookie('lang');
 
var lang = getCookie('lang');
Line 143: Line 145:     
mw.hook('mw.uls.language.revert').add(function (e){
 
mw.hook('mw.uls.language.revert').add(function (e){
     console.log(e);
+
     console.log('revert: ' + e);
    console.log(e.target);
   
});
 
});
    
$('a.uls-prevlang-link').on('click.ulstipsy', function(e){
 
$('a.uls-prevlang-link').on('click.ulstipsy', function(e){
     console.log(e.target);
+
     console.log('ulstipsy: ' + e);
    var lang = e.target.lang;
+
});
 +
 
 
});
 
});

Navigation menu

GCwiki