Thank you for you patience and taking the time to explain. I don’t have much experience with Wiki, apart as a casual reader, and appreciate you taking the time.
Editors rely on marxists.org a lot but I want to move away from them because they outright remove parts they don’t like without telling the reader :(
The more you know… Thank you.
and there is a public-facing API (though it’s bonked right now)
(refer to the URL for the schema and not the displayed title, which we can change on the front-end)
Could you kindly elaborate some more?
Atm I was only able to add a simple " 📚📕 All library works about {activeAdministrativeRegion.country} on ProleWiki." to https://en.prolewiki.org/wiki/Category:Library_works_about_${activeAdministrativeRegion.country} on Top of the ProleWiki Tab.
Sometimes you might have ‘about the’, e.g. “the USSR”.
Unfortunately I don’t have solution for this atm, but looking to add user defined regions in order to lay the way to for linking to USSR, BRICS, etc
I assume the from and to parameters use the page’s ID which there is no way to predict unfortunately.
Hmm ok. If there’s an API that gives me a JSON response of the book (pages) I would be able to integrate it similar to the Anarchist Library or the 72T Bulletins… The current implementation (not the Library, but the Country pages) uses the HTML response from the API (https://en.prolewiki.org/api.php?action=parse&page=germany&format=json&redirects). Is there something like this?
Also, unfortunately the HTML body has relative links and these aren’t working (click on any of the wiki article links and you see what I mean). I thought I had a solution to make the links absolute by injecting the wiki base URL on Click, but i broke the sources as these are absolute links already. Not sure how to go about solving this. Do you have experience with this?
I made some updates to the HexAtlas since I last posted:
https://hex-atlas.netlify.app CW: Spoilertags are still not functioning