Do nothing when replacing a wiki menu item with itsself
Ensure a wiki menu item has to be replaced when it is the last one...


... and that it cannot be replaced if there is no candidate for replacing it.