Skip to content

[Config] Delete a page that it's no longer needed #17143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from

Conversation

javiereguiluz
Copy link
Member

Fixes #17133.

Symfony 4.4, the oldest maintained Symfony version, was released on November 2019, so this page is no longer relevant.

When we delete or move some doc page, we always provide an alternative to avoid errors. In this case, this page is so special that it doesn't really have an alternative. Redirecting to any other page would be wrong. So, let's delete the file and people visiting the page will see an error page showing that the page is only available for some past Symfony versions.

@javiereguiluz javiereguiluz added this to the 4.4 milestone Aug 10, 2022
@carsonbot carsonbot changed the title [Configuration] Delete a page that it's no longer needed [Config] [Configuration] Delete a page that it's no longer needed Aug 10, 2022
@javiereguiluz javiereguiluz changed the title [Config] [Configuration] Delete a page that it's no longer needed [Config] Delete a page that it's no longer needed Aug 10, 2022
@alexislefebvre
Copy link
Contributor

What about redirecting the users to the previous version if they click on a old link? Like this:

This page has been archived, you are probably looking for https://symfony.com/doc/4.4/configuration/dot-env-changes.html

@javiereguiluz
Copy link
Member Author

@alexislefebvre I didn't explain myself well. What you ask is the current behavior for "Not Found" pages. We list the Symfony versions for which that page existed before. See for example: https://symfony.com/doc/2.2/frontend.html

@alexislefebvre
Copy link
Contributor

@javiereguiluz thanks for the explanation, that's great.

javiereguiluz added a commit that referenced this pull request Aug 11, 2022
…reguiluz)

This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Config] Delete a page that it's no longer needed

Fixes #17133.

Symfony 4.4, the oldest maintained Symfony version, was released on November 2019, so this page is no longer relevant.

When we delete or move some doc page, we always provide an alternative to avoid errors. In this case, this page is so special that it doesn't really have an alternative. Redirecting to any other page would be wrong. So, let's delete the file and people visiting the page will see an error page showing that the page is only available for some past Symfony versions.

Commits
-------

4150590 [Config] Delete a page that it's no longer needed
@javiereguiluz javiereguiluz deleted the fix_17133 branch August 11, 2022 10:18
@javiereguiluz
Copy link
Member Author

I double checked this just in case ... and the deleted page is correctly displaying the past versions where it was available: https://symfony.com/doc/current/configuration/dot-env-changes.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants