try and adapt chu for new_mediawiki