Improve wiki ID field validation due to SiteConfiguration oddness

bug: 55580
Change-Id: I983f6be38aaa0c11cc1de48caefaa379a8bd03ce