From: AlJeux <al...@fr...> - 2007-05-30 19:06:58
|
Hi Reini, Thank you for answering so quickly to my question. My question was only related to the second part of the code, not all the code. If I comment the following code (the one working with $newpage), the renaming bug is fixed. (code in WikiDB.php in the rename_page func) === begin === $links = $newpage->getBackLinks(); while ($linked_page = $links->next()) { WikiPlugin_WikiAdminSearchReplace::replaceHelper($this, $linked_page->getName(), $from, $to); } === end === Is it safe to comment these lines ? As I said, I don't understand so I'm afraid of making a mistake. Best Regards, Alain. |