To avoid broken links from external page, create an entry in the .changes meta file to indicate page has been moved (and where it has moved). So a message can be displayed when someone comes to that page that has moved. also a specific header could be sent to automatically redirect user or bot…
Maybe also add a copy feature…
Use the events system to play nice with other plugins that use events.
Actually the only problem was that deleting the old page was not signaling IO_WIKIPAGE_WRITE. Change line 218 ofadmin.phpfrom:
if (@file_exists(wikiFN($opts['new_id']))) @unlink(wikiFN($ID));
to:
if (@file_exists(wikiFN($opts['new_id']))) saveWikiText($ID, '', 'Deleted by PageMove plugin');