The term “bylaw” when used in reference to legislative action taken by a city, town, county or village district shall have the same meaning as an ordinance and shall be subject to the same procedures for enactment.