Defensive programming added to wiki creation