| Version 2 (modified by CL, 5 years ago) |
|---|
//Executable (function () {
if (!location.search && !/\/share\/wiki\/Committers\/([\/]{2,})/.test(location.pathname)) return; var author = RegExp?.$1; $.get(TracUtils?.TRAC_BASE+"/search?q="+author+"&noquickjump=1&changeset=on", {}, function (data) { $("<div class='recent-commits'><h2>Recent Commits</h2></div>").append( $(data).xfind(".//dl") .xfind("dd[span[@class='author'] != 'By "+author+"']") .xfind("preceding-sibling::dt[1] | preceding-sibling::dd[1]").remove().end() .remove().end() ).appendTo($("#searchable, #content").get(0)); });
})();
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)