Skip to content
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

Create links from old docs to new for migrated docs #18

Closed
4 tasks done
andrewnicols opened this issue Apr 11, 2022 · 2 comments
Closed
4 tasks done

Create links from old docs to new for migrated docs #18

andrewnicols opened this issue Apr 11, 2022 · 2 comments
Assignees
Labels
migration Migration of a document from the legacy site
Milestone

Comments

@andrewnicols
Copy link
Member

andrewnicols commented Apr 11, 2022

As part of the migration we need to:

  • create a new template on the legacy docs pointing to the new doc
  • update code to use this new template as we migrate docs
  • mark the docs are read-only
  • mark any docs which we do not plan to migrate as obsolete + read-only
@andrewnicols andrewnicols added the migration Migration of a document from the legacy site label Apr 11, 2022
@andrewnicols andrewnicols added this to the Migration day milestone Apr 11, 2022
@andrewnicols andrewnicols added this to To do in Migration from Wikimedia via automation Apr 11, 2022
@andrewnicols
Copy link
Member Author

I have created a new template in the legacy docs: https://docs.moodle.org/dev/Template:Migrated

This should be included on any page which is transferred over by adding the following to the source:

{{Template:Migrated|newDocId=path/to/new/doc}}

For example:

{{Template:Migrated|newDocId=/docs/apis/access}}

This template currently has no visible content but will be modified when we hit critical mass to announce that:

  • the document is frozen
  • it has been migrated to the new site
  • link to the new location

This template also adds a new category which we can then use to identify all migrated docs for the purposes of freezing them.

@andrewnicols andrewnicols self-assigned this Apr 11, 2022
@andrewnicols
Copy link
Member Author

Closing as this has been implmeneted in a range of other issues.

Migration from Wikimedia automation moved this from To do to Done Jun 8, 2022
NoelDeMartin added a commit to NoelDeMartin/moodledevdocs that referenced this issue Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration Migration of a document from the legacy site
Projects
Development

No branches or pull requests

1 participant