<%= render "sidebar" %>

<%= @wiki_page.pretty_title %> <% if @wiki_page.is_locked? %> (locked) <% end %>

<%= format_text(@wiki_page.body) %> <% if @wiki_page.presenter.antecedent_tag_alias %>

This tag has been aliased to <%= link_to @wiki_page.presenter.antecedent_tag_alias.consequent_name, posts_path(:tags => @wiki_page.presenter.antecedent_tag_alias.consequent_name) %>.

<% end %> <% if @wiki_page.presenter.consequent_tag_aliases.any? %>

The following tags are aliased to this tag: <%= raw @wiki_page.presenter.consequent_tag_aliases.map {|x| link_to(x.antecedent_name, posts_path(:tags => x.antecedent_name))}.join(", ") %>.

<% end %>
<%= @wiki_page.post_set.presenter.post_previews_html(self) %>
<% content_for(:page_title) do %> Wiki - <%= @wiki_page.pretty_title %> - <%= Danbooru.config.app_name %> <% end %> <% content_for(:html_header) do %> <% end %> <%= render "secondary_links" %>