diff --git a/app/views/wiki_pages/_sidebar.html.erb b/app/views/wiki_pages/_sidebar.html.erb
index 3640570ab..2d54ce053 100644
--- a/app/views/wiki_pages/_sidebar.html.erb
+++ b/app/views/wiki_pages/_sidebar.html.erb
@@ -2,7 +2,7 @@
<%= render "posts/partials/index/blacklist" %>
<%= render "wiki_pages/recent_changes" %>
- <% if @wiki_page.present? && !@wiki_page.new_record? %>
+ <% if @wiki_page.present? && @wiki_page.title.present? %>
Options
@@ -11,22 +11,18 @@
- <%= link_to "Tag History", tag_versions_path(search: { tag_id: @wiki_page.tag&.id }) %>
<% end %>
- <% if @wiki_page.title.present? %>
- - <%= link_to "Post History", post_versions_path(search: { changed_tags: @wiki_page.title }) %>
- <% end %>
+ - <%= link_to "Post History", post_versions_path(search: { changed_tags: @wiki_page.title }) %>
<% end %>
<% if @wiki_page.id.present? %>
- <%= link_to "Wiki History", wiki_page_versions_path(search: { wiki_page_id: @wiki_page.id }) %>
<% end %>
- <% if Danbooru.config.forum_enabled?.to_s.truthy? && @wiki_page.title.present? %>
+ <% if Danbooru.config.forum_enabled?.to_s.truthy? %>
- <%= link_to "Discussions", forum_posts_path(search: { linked_to: @wiki_page.title }) %>
<% end %>
- <% if @wiki_page.title.present? %>
- - <%= link_to "What Links Here", wiki_pages_path(search: { linked_to: @wiki_page.title }) %>
- <% end %>
+ - <%= link_to "What Links Here", wiki_pages_path(search: { linked_to: @wiki_page.title }) %>
<% end %>
<% end %>