XE-1347: There are lots of conflicts for standard pages when upgrading from 4.1.4 to 5.2.1 using distribution wizard
* also ix the same issue in xwiki-enterprise-ui-mainwiki

(cherry picked from commit 13bf28e830398af6ea76cc79405474dc4e3dae94)