<% loc('Orphaned pages are pages which no other page in the system links to, making them harder to discover. You might want to consider linking them.') %>

% if ($orphan_count) { % while ( my $page = $orphans->next() ) { % } <& /lib/table/pager.mas, index => $orphans->index(), pager => $pager, uri_maker => sub { $wiki->uri( view => 'orphans', @_ ) } &>
<% loc('Title') %> <% loc('Created By') %> <% loc('# of Revisions') %> <% loc('Last Edited By') %>
<% $page->title() %> <& /lib/user-link.mas, user => $page->user(), wiki => $wiki &> <% $page->revision_count() %> <& /lib/user-link.mas, user => $page->most_recent_revision()->user(), wiki => $wiki &>
% } else {

<% loc('This wiki has no orphaned pages. Well done!') %>

% } <%args> $orphan_count $orphans $wiki $pager <%method title> <% loc('Orphaned Pages') %>