Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

bug 1404669: optional cleanup #1032

Merged
merged 1 commit into from Jan 4, 2019
Merged

bug 1404669: optional cleanup #1032

merged 1 commit into from Jan 4, 2019

Conversation

escattone
Copy link
Contributor

This PR performs some minor cleanup related to the work that was done for bug 1404669. None of this cleanup is required to actually fix the bug.

  • update the default setting for document_url_template to reflect the addition of redirect=no
  • the template_url_template setting has been obsolete for some time, so it has been removed

* the "template_url_template" setting has been
  obsolete for some time, so remove it
* update the "document_url_template" setting
  defaults to reflect the addition of "redirect=no"
  to its parameters
Copy link
Contributor

@davidflanagan davidflanagan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to remove the unused URL template here. I'm not sure what the benefit of adding redirect=no to the URL will be, but I can't see it doing any harm.

@escattone
Copy link
Contributor Author

@davidflanagan Thanks for the review! Other than as a kind of documentation of what the real value is expected to look like, there really is no benefit to adding redirect=no to the default values for the document_url_template setting (since they're never used). 😄

@escattone escattone merged commit e368c00 into mdn:master Jan 4, 2019
@escattone escattone deleted the cleanup-1404669 branch January 4, 2019 19:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants