#3339 - Support automatic correct linking for renamed modules

Identifier #3339
Issue type Feature request or suggestion
Title Support automatic correct linking for renamed modules
Status Open
Handling member Deleted
Addon core
Description Let's imagine site:news is renamed to article:news.

Right now in the code build_url(array('page' => 'news'), get_module_zone('news')) would end up linking to article:news, because it sees the redirect.

However, let's imagine site:news is renamed to article:news.

Right now in the code build_url(array('page' => 'news'), get_module_zone('news')) would end up linking to site:news. This is because get_module_zone knows the redirect is to a different page name so bails on going to the redirection zone, preferring the canonical zone. That's a good thing because it would be wrong for get_module_zone to assume we are dynamically setting the correct redirected page name (we're not).

However ideally what would then happen is build_url itself would itself then detect site:news is now article:news and build out the link correctly.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated