Line 15:
Line 15:
$( document ).ready(function() {
$( document ).ready(function() {
+
+
var UIlang = mw.config.get( 'wgUserLanguage' );
+
switch(UIlang){
+
case 'en_ca':
+
case 'en':
+
$('#n-help a').attr('href', $('#n-help a').attr('href')+'/en/support/home');
+
break;
+
case 'fr_ca':
+
case 'fr':
+
$('#n-help a').attr('href', $('#n-help a').attr('href')+'/fr/support/home');
+
break;
+
default:
+
break;
+
}
var lang = getCookie('lang') !== "undefined" ? getCookie('lang') : 'en';
var lang = getCookie('lang') !== "undefined" ? getCookie('lang') : 'en';