Skip to content

Add more formats for wiki search

Ravi Kumar requested to merge 460547-add-more-format-wiki-search into master

What does this MR do and why?

We need to support more wiki formats to be searchable: #389375 (comment 1929115377)

Currently, we are filtering the wiki types to only these four types: ["Markdown", "RDoc", "AsciiDoc", "Org"]. Currently, from UI you can only create these four types of wikis. But there are some old wiki docs of different types. We need to include those in the search results. So using a new array Wiki::MARKUPS.values.pluck(:name) which is a broader list of types.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #460547

Edited by Ravi Kumar

Merge request reports