diff -Nru firefox-lp-improvements-0.99.89/content/user_scripts/lp_karma_suffix.user.js firefox-lp-improvements-0.99.90/content/user_scripts/lp_karma_suffix.user.js --- firefox-lp-improvements-0.99.89/content/user_scripts/lp_karma_suffix.user.js 2011-02-14 23:06:10.000000000 +0000 +++ firefox-lp-improvements-0.99.90/content/user_scripts/lp_karma_suffix.user.js 2012-03-12 16:56:53.000000000 +0000 @@ -120,8 +120,9 @@ if (karmaNode) { // Bug Trail Link var karmaLink = document.createElement("a"); + //alert(people_cache[person]['person_name'].replace(/\(.*\)/, '')); karmaLink.href = "http://search.gmane.org/?query=&author=" - + people_cache [person]['person_name'].replace (/[ -]/g, "+") + + people_cache[person]['person_name'].replace(/\(.*\)/, '') + "&group=gmane.linux.ubuntu.bugs.general&sort=date&DEFAULTOP=and"; karmaLink.title = "Follow bug trail of this user"; karmaLink.innerHTML = karmaNode; @@ -223,6 +224,12 @@ var person = link.substr(link.lastIndexOf("~")+1); + // Don't get confused by links that look like people but really are PPA files + var re = new RegExp(".*\\+files.*"); + if (re.test(link)) { + return; + } + // Detect and drop sub directory matches var slash = person.indexOf("/"); if (slash != -1) { diff -Nru firefox-lp-improvements-0.99.89/debian/changelog firefox-lp-improvements-0.99.90/debian/changelog --- firefox-lp-improvements-0.99.89/debian/changelog 2012-02-15 22:48:39.000000000 +0000 +++ firefox-lp-improvements-0.99.90/debian/changelog 2012-03-12 17:01:42.000000000 +0000 @@ -1,3 +1,10 @@ +firefox-lp-improvements (0.99.90-0ubuntu1~ppa1) precise; urgency=low + + * lp_karma_suffix.user.js: don't add in lp username into the follow bug + trail link (LP: #911390) + + -- Brian Murray Mon, 12 Mar 2012 09:57:22 -0700 + firefox-lp-improvements (0.99.89-0ubuntu1~ppa1) precise; urgency=low * lp_work_item_editor.user.js: update to deal with Launchpad javascript diff -Nru firefox-lp-improvements-0.99.89/install.rdf firefox-lp-improvements-0.99.90/install.rdf --- firefox-lp-improvements-0.99.89/install.rdf 2012-02-15 22:48:27.000000000 +0000 +++ firefox-lp-improvements-0.99.90/install.rdf 2012-03-12 17:31:10.000000000 +0000 @@ -6,7 +6,7 @@