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

Stuff to move from wiki.luanti.org #15

Closed
87 tasks done
wsor4035 opened this issue Dec 14, 2024 · 6 comments · Fixed by #159
Closed
87 tasks done

Stuff to move from wiki.luanti.org #15

wsor4035 opened this issue Dec 14, 2024 · 6 comments · Fixed by #159
Labels
Content Alterations or additions to written content Mirror Mirrors another wiki

Comments

@wsor4035
Copy link
Collaborator

wsor4035 commented Dec 14, 2024

assuming #12 is a go
previously #1

https://wiki.luanti.org/index.php?title=Special:AllPages&hideredirects=1 (warning - multiple pages)

Migrate

Redirect

This was referenced Dec 15, 2024
@JosiahWI JosiahWI added Mirror Mirrors another wiki Content Alterations or additions to written content labels Dec 15, 2024
@GreenXenith GreenXenith pinned this issue Dec 16, 2024
@GreenXenith GreenXenith changed the title stuff worth saving from normal wiki Stuff to move from wiki.luanti.org Dec 16, 2024
This was referenced Dec 21, 2024
@mark-wiemer

This comment was marked as off-topic.

@grorp

This comment was marked as off-topic.

@mark-wiemer

This comment was marked as off-topic.

@wsor4035

This comment was marked as off-topic.

@mark-wiemer
Copy link
Contributor

mark-wiemer commented Jan 20, 2025

How to import content:

Ref #146 for a sample PR

  1. Use https://urltomarkdown.com/ for convenience
  2. Save to a new file with a lower-kebab-case name in content
  3. Touch up output minimally to ensure the page renders correctly.
  4. Ensure the "References" at the bottom of the page is removed and replaced with inline links (Find cite_note, cite_ref)
  5. Migrate images to static/images folder (manually downloaded, not just from the site). The converter site in step 1 will start every image embed with [![], use that for easy finding within the file. Correct embedded images are of the form ![](/images/...)
    1. Find regex: \[!\[\]\(https://wiki.luanti.org/images/.*?\)\], replace with ![]
  6. Update URL to be lower-kebab-case with an encoded alias. Ref https://github.com/minetest/dev.luanti.org/blob/master/content/calinous-law.md?plain=1#L3-L4
  7. Open and merge PR
  8. Ask @rollerozxa to add redirect from wiki.luanti.org to dev.luanti.org

@rollerozxa
Copy link
Member

yay

@wsor4035 wsor4035 unpinned this issue Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Alterations or additions to written content Mirror Mirrors another wiki
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants