<div class="gmail_quote">On Wed, Feb 25, 2009 at 7:56 PM, Graham Archer <span dir="ltr">&lt;<a href="mailto:Graham.Archer@sun.com">Graham.Archer@sun.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In a test wiki I&#39;m trying to rename a page Test to Test-Archive. I&#39;m<br>
doing this via the control panel.<br>
The command I&#39;m using is:<br>
mv Test.Test  Test.Test-Archive<br>
<br>
When I execute the command I get this error:<br>
<br>
ERROR: rm(): DeleteKey (delete) does not match $DeleteKeyPattern. Unable<br>
to delete.<br>
<br>
How can I resolve this?  Currently the wiki is set to delete pages if<br>
there is no text on them and I would like to keep that setting.<br>
</blockquote><div><br>WikiSh deletes pages by writing the delete key to them to ensure that
all normal processing of deleted pages occurs just as if you put the
delete key in an edit window and saved.  If you&#39;ve redefined the
$DeleteKeyPattern then you will need to set $DeleteKey to the value
that WikiSh should write to the page (in this case simply an empty
string).<br>
<br>If you include this in your config.php it should solve the problem:<br><br>$DeleteKey = &#39;&#39;;<br><br>Hope that helps.<br><br>-Peter  <br></div></div>