<%= 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, show_or_new_wiki_pages_path(:title => @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, show_or_new_wiki_pages_path(:title => x.antecedent_name))}.join(", ") %>.

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

This tag has been implicated to <%= raw @wiki_page.presenter.antecedent_tag_implications.map {|x| link_to(x.consequent_name, show_or_new_wiki_pages_path(:title => x.consequent_name))}.join(", ") %>.

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

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

<% end %>
<% if Post.fast_count(@wiki_page.title) > 0 %>

Posts

<% 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" %>