Name strategies automatic character replacement [Since XWiki 12.0RC1]
Last modified by Ilie Andriuta on 2022/11/29 17:08
Steps to reproduce
- Login as Admin
- Go to Administer Wiki > Editing > Name Strategies
- Under 'Current Name Strategy' select 'Character replacement'
- Under 'Transform name automatically' select 'Enabled'
- Under 'Character Replacement Strategy Configuration' click 'Add new character'
- Add a new forbidden character (e.g. ") and a new replacement character (e.g. -)
- Click 'Add new character' > 'Save'
- Create a new page with some forbidden characters in its name (e.g. Te"s/t)
- Click 'Create', then 'Save & View'
- Observe the saved name of the page
Expected results
The path was renamed according to the configured strategy (e.g. the page was renamed to Te-st in the URL), while the page's title remained as set initially.
Automation Status
Needs Automated Test