[pre_model_sync]
wiki.wiki.doctype.wiki_page.patches.set_allow_guest
wiki.wiki.doctype.wiki_page.patches.delete_is_new
wiki.wiki.doctype.wiki_page_revision.patches.add_usernames
wiki.wiki.doctype.wiki_feedback.patches.delete_wiki_feedback_item

[post_model_sync]
wiki.wiki.doctype.wiki_space.patches.wiki_sidebar_migration
wiki.wiki.doctype.wiki_settings.patches.wiki_navbar_item_migration
wiki.wiki.doctype.wiki_page.patches.convert_wiki_content_to_markdown
wiki.wiki.doctype.wiki_page.patches.update_escaped_code_content
wiki.wiki.doctype.wiki_page.patches.update_escaped_chars
wiki.wiki.doctype.wiki_space.patches.wiki_navbar_app_switcher_migration
wiki.wiki.doctype.wiki_space.patches.v3.migrate_to_new_tree_document_structure
wiki.wiki.doctype.wiki_space.patches.v3.assign_wiki_user_to_active_users
wiki.wiki.doctype.wiki_space.patches.v3.migrate_orphan_pages_to_wiki_document
wiki.frappe_wiki.doctype.wiki_revision.patches.convert_open_crs_to_overlay
wiki.frappe_wiki.doctype.wiki_content_blob.patches.unescape_iframe_embeds
execute:frappe.db.set_single_value('Wiki Settings', 'auto_convert_images_to_webp', 1) #2026-06-10
wiki.wiki.doctype.wiki_space.patches.backfill_space_access
wiki.wiki.doctype.wiki_space.patches.seed_space_roles_from_published
wiki.frappe_wiki.doctype.wiki_change_request.patches.drop_reviewer_participant_tables
wiki.wiki.doctype.wiki_space.patches.set_allow_contributions_default
wiki.frappe_wiki.doctype.wiki_revision.patches.mark_hashes_stale_for_metadata_hashing
execute:frappe.db.set_single_value('Wiki Settings', 'auto_generate_meta_images', 1) #2026-07-25
execute:from wiki.frappe_wiki.doctype.wiki_document.wiki_document import clear_wiki_content_cache; clear_wiki_content_cache() #2026-07-28-blank-lines
wiki.patches.remove_stale_spa_entry
wiki.wiki.doctype.wiki_space.patches.backfill_last_edited
