--- a/templates/gitweb/shortlog.tmpl
+++ b/templates/gitweb/shortlog.tmpl
@@ -6,7 +6,7 @@
<body>
<div class="page_header">
-<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / shortlog
+<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / shortlog
</div>
<form action="{url}log">
@@ -17,11 +17,11 @@
</form>
</div>
<div class="page_nav">
-<a href="{url}summary{getentries}">summary</a> |
+<a href="{url}summary{sessionvars%urlparameter}">summary</a> |
shortlog |
-<a href="{url}log/#rev#{getentries}">changelog</a> |
-<a href="{url}tags{getentries}">tags</a> |
-<a href="{url}file/#node|short#{getentries}">manifest</a>#archives%archiveentry#<br/>
+<a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> |
+<a href="{url}tags{sessionvars%urlparameter}">tags</a> |
+<a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a>#archives%archiveentry#<br/>
<br/>
#changenav%navshortentry#<br/>