Check the content of wiki_readable and wiki_writeable.
if it is still numbers only and the above mentioned columns are varchar columns should be updated using:
Be sure to use each/match numeric found in your columns in your case statement.
UPDATE egw_wiki_pages SET wiki_readable = ( case wiki_readable WHEN ‘0’ THEN ‘,_0,’ WHEN ‘1’ THEN ‘,_1,’ WHEN ‘2’ THEN ‘,_2,’ END);
UPDATE egw_wiki_pages SET wiki_writable = ( case wiki_writable WHEN ‘0’ THEN ‘,_0,’ WHEN ‘1’ THEN ‘,_1,’ WHEN ‘2’ THEN ‘,_2,’ END);