[ticket/11984] Hide <dfn> for invalid extensions

PHPBB3-11984