XWIKI-11114: DW should not depend on the current skin

(cherry picked from commit ca70f1029442018b611af89fd118060bcc60daa3)