-
-
Save nnja/9136152c163091614e70defcf3753d06 to your computer and use it in GitHub Desktop.
https://raw.github.com/wiki/user/repo/page.md?login=login&token=token |
Or check the commit history, and copy the right-most panel.
https://raw.github.com/wiki/user/repo/page.md?login=login&token=token
These URLs now redirect to a new domain… https://raw.githubusercontent.com/wiki/user/repo/page.md
What token should be used in this context?
-
The tokens that are appending to URLs automatically when adding .md to a wiki page to see the raw content seem to expire after a few days and do not need the login query parameter.
-
Personal access tokens do not seem to work in this context either...
So what token needs to be used to get this to work? Thanks!
If you don't have edit access this translation worked for me:
https://github.com/org/repo/wiki/page -> https://raw.githubusercontent.com/wiki/org/repo/page.md
Example:
https://github.com/Microsoft/vscode-go/wiki/Building,-Debugging-and-Sideloading-the-extension-in-Visual-Studio-Code -> https://raw.githubusercontent.com/wiki/Microsoft/vscode-go/Building%2C-Debugging-and-Sideloading-the-extension-in-Visual-Studio-Code.md
Just want to mention that this doesn't always work, especially if the Wiki is managed via Git and the actual source documents are at a different heirarchy.
None of the solutions in these comments seem to work without edit access at the time of this comment
@Kiuhrly
Still seems to work
https://raw.githubusercontent.com/wiki/Microsoft/vscode-go/Features-for-Go-in-VS-Code.md
It's just linknum23's example is from a page that has since been moved/deleted as vscode-go themselves have migrated off GitHub Wikis (maybe due to documentation, indexing, or spam situation that I wrote/addressed/working around in https://github-wiki-see.page)
Looks like I was doing it wrong when I tried to manually edit a URL. Oops. Here's a wiki link and a correct raw file link for future reference and comparison:
https://github.com/mattmikolay/chip-8/wiki/CHIP%E2%80%908-Technical-Reference
https://raw.githubusercontent.com/wiki/mattmikolay/chip-8/CHIP%E2%80%908-Technical-Reference.md
For anyone else getting 404s, note the missing /wiki
after the repository name, the added /wiki
at the start, and .md
added at the end.
not sure if this helps, but you can clone the wiki
git clone [email protected]:organisation/repo.wiki.git
all wiki pages are in markdown files
Adding '.md' at the end of the wiki-URL redirects to the raw page, as a potentially simpler solution.