  In various astrophysical contexts, we analyze self-similar behaviours of
magnetohydrodynamic (MHD) evolution of a quasi-spherical polytropic magnetized
gas under self-gravity with the specific entropy conserved along streamlines.
In particular, this MHD model analysis frees the scaling parameter $n$ in the
conventional polytropic self-similar transformation from the constraint of
$n+\gamma=2$ with $\gamma$ being the polytropic index and therefore
substantially generalizes earlier analysis results on polytropic gas dynamics
that has a constant specific entropy everywhere in space at all time. On the
basis of the self-similar nonlinear MHD ordinary differential equations, we
examine behaviours of the magnetosonic critical curves, the MHD shock
conditions, and various asymptotic solutions. We then construct global
semi-complete self-similar MHD solutions using a combination of analytical and
numerical means and indicate plausible astrophysical applications of these
magnetized flow solutions with or without MHD shocks.
