Weakly Nonlinear Magnetic Convection in a Nonuniformly Rotating Electrically Conductive Medium Under the Action of Modulation of External Fields