diff --git a/app/views/wiki/page.rhtml b/app/views/wiki/page.rhtml
index 6226a665..3b368c64 100644
--- a/app/views/wiki/page.rhtml
+++ b/app/views/wiki/page.rhtml
@@ -32,17 +32,17 @@
<% if @page.name == "HomePage" %>
<%= link_to('Edit Page',
{:web => @web.address, :action => 'edit', :id => @page.name},
- {:class => 'navlink', :accesskey => 'E'})
+ {:class => 'navlink', :accesskey => 'E', :name => 'edit'})
%>
|
<%= link_to('Edit Web',
{:web => @web.address, :action => 'edit_web'},
- {:class => 'navlink'})
+ {:class => 'navlink', :name => 'edit_web'})
%>
<% else %>
<%= link_to('Edit',
{:web => @web.address, :action => 'edit', :id => @page.name},
- {:class => 'navlink', :accesskey => 'E'})
+ {:class => 'navlink', :accesskey => 'E', :name => 'edit'})
%>
<% end %>
@@ -51,16 +51,16 @@
<%= link_to('Back in time',
{:web => @web.address, :action => 'revision', :id => @page.name,
:rev => @page.revisions.length - 2},
- {:class => 'navlink', :accesskey => 'R'})
+ {:class => 'navlink', :accesskey => 'R', :name => 'to_previous_revision'})
%>
(<%= @page.revisions.length - 1 %> revisions)
<% end %>
<% if @page.revisions.length > 1 %>
- | See changes
+ | See changes
-
+
| Hide changes
<% end %>
@@ -69,12 +69,14 @@
| Views:
<%= link_to('Print',
{:web => @web.address, :action => 'print', :id => @page.name},
- {:accesskey => 'p'}) %>
+ {:accesskey => 'p', :name => 'view_print'}) %>
<% if defined? RedClothForTex and RedClothForTex.available? and @web.markup == :textile %>
|
- <%= link_to 'TeX', :web => @web.address, :action => 'tex', :id => @page.name %>
+ <%= link_to 'TeX', {:web => @web.address, :action => 'tex', :id => @page.name},
+ {:name => 'view_tex'} %>
|
- <%= link_to 'PDF', :web => @web.address, :action => 'pdf', :id => @page.name %>
+ <%= link_to 'PDF', {:web => @web.address, :action => 'pdf', :id => @page.name},
+ {:name => 'view_pdf'} %>
<% end %>