XWIKI-11110: Document translations are not marked correctly with translation=1 in the database of a newly created wiki

* ok last time I fix a merge directly from github