During the absence or disability of the mayor for any cause, the mayor pro tem, or in his or her absence or disability for any reason any councilmember chosen by the city council, shall be clothed with all the rights and privileges of the mayor and shall perform the duties of the office of the mayor so long as such absence or disability shall continue.