No reason to have this logic duplicated in `ve.ui.WikiaMediaPageWidget` -- it seems like we should get all the information we need once and store it.