Upon conviction of a violation of any provision of this article, Article 2 (commencing with Section 18610), Article 3 (commencing with Section 18620), Article 5 (commencing with Section
18640), Article 6 (commencing with Section 18650), or Article 7 (commencing with Section 18660), the court may order as a condition of probation that the convicted person be prohibited from receiving money or other valuable consideration for gathering signatures on an initiative, referendum, or recall petition.