VE-1130 Optimize checking of blog namespaces within VisualEditor