fixes #1619
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user