-
Notifications
You must be signed in to change notification settings - Fork 55
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
links should be exactly the same as wikipedia #2
Comments
This is possible as a step after adding into IPFS but will result in a trailing slash after the article name (wikipedia won't accept it back: https://en.wikipedia.org/wiki/DNA/)
Quite similar but wikimeida does sharding in fs (wikimedia uploads is backed by filesystem and kiwix/zim files skip this step) So links are:
Where |
|
can we get them to be exactly the same? |
Yes but this will take significant work on how the dumps are created |
what's "significant work"? should we leave it for later? i want to make sure people can take existing wikipedia links and apply a trivial transform manually (eg changing the domain) and have it all just work. |
For a quick fix at least on ipfs.io, we can apply a redirect that appends the .html suffix.
@Kubuxu will know more, but I think it's either a) making the dumps closer to the original, or 2) adding links within ipfs. Or maybe it's as simple as writing the files out without the .html suffix in the first place? I think it's okay to just not have that suffix? |
Not right now, it would require:
It is a lot of work t odo.
This would mean that it wouldn't work on local gateways. Non-uniform UX is bad. @jbenet is trailing |
I think it is the first byte, a slash and the first 2 bytes of the md5sum string of the file name, didn't check in the configuration nor code and this may vary by installation. |
links should be exactly the same as wikipedia
The text was updated successfully, but these errors were encountered: