Review main Merged

76816[TASK] Streamline ext:redirects auto-create chain

Stefan Bürk CR +2 V +2 Hard +587 −110 updated 12/05/22, 22:38

Commit message

Changing the slugs of pages automatically creates
redirects, if ext:redirects is installed and
that feature has not been disabled. Detecting and
handling this has been based on the `slug` value
from the page record.

There are some valid use cases which would benefit
from the one or other good placed event. Another
use case would be to create a redirect with a real
build source path, thus respecting configured site
route enhancers and decorators. Creating multiple
redirects based on different arguments and typeNum
may be another use case.

This change acts as a preparation for upcoming
features. Thus, it changes the passed through
dataset in a way to transport valuable data.
Handling and consuming methods have been adjusted.
Pointing out possible places for events are added,
which makes the need for the changes more obvious.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 13