OO-990: fix red screen if a user try to edit a wiki via REST url