Redirect wiki pages on renaming them
What does this MR do and why?
Redirect wiki pages on renaming them
- When you rename a wiki page now, a redirection table is created to map the old path to the new path, so all existing links will work.
- When you create a new wiki page, or rename, the redirection table entry for the new path is removed.
Changelog: added
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
Case |
|
Screenshot |
---|---|---|
When the page is redirected to another page that exists. Route: Steps:
Expectation:
|
|
|
When the page is redirected to another page that exists. Route: Steps:
Expectation:
|
|
|
When the page is redirected to another page that does not exist. Steps:
Expectation:
|
|
|
When a redirection loop is hit, or a redirection limit of 50 is reached. Steps:
Expectation: Going to The reason we show editing for |
|
How to set up and validate locally
Steps included in the screenshot section.
Related to #257892 (closed)