MediaWiki

Common.js: Difference between revisions

From Engineering Client Portal

No edit summary
No edit summary
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
var cn_rewrite_url = function() {
  var baseUrl = 'https://engineeringportal.nielsen.com/docs/Special:LandingCheck';
  var queryString = jQuery.param({'landing_page':'Main_Page', 'language':wgUserLanguage, 'country':Geo.country});
  jQuery("a.variable_lp").attr("href", baseUrl + '?' + queryString);
}
jQuery(document).ready(cn_rewrite_url);

Latest revision as of 23:21, 6 November 2018

/* Any JavaScript here will be loaded for all users on every page load. */