fixed the media entity form type
use page admin class to generate routes or get base route name
Merge branch 'refs/heads/master' into 2.3