This commit is contained in:
Toks
2013-06-22 17:26:32 -04:00
parent e2d08332cc
commit 377b2990c9
2 changed files with 2 additions and 3 deletions

View File

@@ -145,8 +145,7 @@ class TagAlias < ActiveRecord::Base
if antecedent_wiki.present? && WikiPage.titled(consequent_name).blank?
CurrentUser.scoped(creator, creator_ip_addr) do
antecedent_wiki.update_attributes(
:title => consequent_name,
:body => "[i]This page was automatically renamed from [[#{antecedent_name}]] by a tag alias.[/i]\n\n#{antecedent_wiki.body}"
:title => consequent_name
)
end
end

View File

@@ -29,7 +29,7 @@ create implication aaa -> bbb
<div class="input">
<label for="batch_rename_aliased_pages">
<%= check_box "batch", "rename_aliased_pages" %>
Automatically rename all wiki pages and artists for aliases in this batch
Rename aliased wiki pages and artists
</label>
</div>