Wiki source code of Name strategies automatic character replacement [Since XWiki 12.0RC1]
Last modified by Ilie Andriuta on 2022/11/29 17:08
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | 1. Login as Admin | ||
| 2 | 1. Go to Administer Wiki > Editing > Name Strategies | ||
| 3 | 1. Under 'Current Name Strategy' select 'Character replacement' | ||
| 4 | 1. Under 'Transform name automatically' select 'Enabled' | ||
| 5 | 1. Under 'Character Replacement Strategy Configuration' click 'Add new character' | ||
| 6 | 1. Add a new forbidden character (e.g. **"**) and a new replacement character (e.g. **-**) | ||
| 7 | 1. Click 'Add new character' > 'Save' | ||
| 8 | 1. Create a new page with some forbidden characters in its name (e.g. **Te"s/t**) | ||
| 9 | 1. Click 'Create', then 'Save & View' | ||
| 10 | 1. Observe the saved name of the page |