Allow Wiki users to select all supported formats in "Format" dropdown
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
As of %12.4 our wiki will have technical support for all formats in Gitlab::MarkupHelper::EXTENSIONS, however we only allow users to choose from Markdown, AsciiDoc and RDoc.
More details
We allow people to clone the repository and push directly to it. Files with any of these extensions will result in a wiki page appearing.
However, we only allow users to choose from Markdown, AsciiDoc and RDoc when creating/editing pages using our form UI.
If a user has created one of these extra-format pages by pushing to the wiki repository directly, and then goes to edit it, the "Format" drop-down forces them to choose from only the 3 formats we currently support. This will break the rendering of the page if the user were to save it.
Proposal
We should allow our users to choose from all of the formats in Gitlab::MarkupHelper::EXTENSIONS.
Documentation
- We should update our Wiki documentation state all supported formats (note, it doesn't currently state which format are supported)