fix document.domain. add wgCategories annotations from mediawiki sites