Add "nocreate" and "createonly" options to edit.php

Change-Id: I2101360a934b8b9a92094c44429e3e2314c7fba3
Merge "Add "nocreate" and "createonly" options to edit.php"