diff --git a/core.php b/core.php
index 1ee38ea..0056710 100644
--- a/core.php
+++ b/core.php
@@ -208,7 +208,7 @@ function renderpage($title, $content, $minimal = false)
$content
You tried to delete $page, but editing is disabled on this wiki.
+ If you wish to delete this page, please re-enable editing on this wiki first.
+ Nothing has been changed.
"));
+ }
if(!$isadmin)
{
exit(renderpage("Deleting $page - error", "You tried to delete $page, but you are not an admin so you don't have permission to do that.
@@ -553,9 +560,18 @@ switch($_GET["action"])
* %move%
*/
case "move":
+ if(!$editing)
+ {
+ exit(renderpage("Moving $page - error", "You tried to move $page, but editing is disabled on this wiki.
+ If you wish to move this page, please re-enable editing on this wiki first.
+ Nothing has been changed.
"));
+ }
if(!$isadmin)
+ {
exit(renderpage("Moving $page - Error", "You tried to move $page, but you do not have permission to do that.