https://bugzilla.wikimedia.org/show_bug.cgi?id=25439
Nimish Gautam <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Nimish Gautam <[email protected]> 2010-10-08 17:04:43 UTC --- Addendum...just to be super-safe, let's have it be this: <code> var rewrite_url = function() { var url = '{{{banner-url-2010}}}?utm_medium=sitenotice&utm_campaign={{{campaign}}}&utm_source={{{banner}}}'; var targets = String( '{{{targets}}' ).split(','); if ( targets.length ) { url += '&' + targets[Math.floor( Math.random() * targets.length )].replace(/^\s+|\s+$/, ''); } $j(".fundraiser-banner a.variable_lp").attr("href",url); } if($j){ $j(document).ready(rewrite_url); } </code> and put a default URL into the banner pointing to something sensible, like https://payments.wikimedia.org/index.php/Special:PayflowProGateway -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
