Time Nick Message 01:06 Delimitor Yeah, guess it was pretty unclear. Not sure how to put it; basically I would like to make mods for Luanti that assist with 3D modeling for CAD, so items in-game/in-engine may be exported as a 3D-print file to print. This way any STL or similar CAD file may be imported, modified intuitively in-engine [inside a 'game' like Minetest Game for Luanti], 01:06 Delimitor then exported to use with a 3D printer. The use case in mind for such a feature is ease-of-use in making 3D-printable parts / objects (converting meticulous CAD work into something more like playing a game). Was mainly asking if anybody was interested, and if anybody knows if there are existing projects/tools provide such functionality, or knows 01:06 Delimitor somebody who might be interested in collaborating to build one. 01:11 MTDiscord pretty sure 3d printers and luanti has been done before. if not always welsh? or whatever that mod is to export luanti world parts as a 3d model 01:18 Delimitor I think I've used that mod before, was not very intuitive IMO. Might check it out again just to make sure... 01:56 Delimitor Found 'FDM' Cube, learned how to use WorldEdit; with that in combination with the Meshport mod, it appears to be very possible to make 3D objects in Luanti already. There seems to be a slight problem with this however; it requires using commands, does anybody know of an intuitive version; maybe where instead of commands, its some in-hand tools that 01:56 Delimitor show in advance what is to be done; like if its the //sphere command it might instead be an interactive sphere tool that shows the sphere in some kind of ghost blocks while one adjusts its size and in-world position? 07:14 Krock Where did the Minetest Game documentation go? https://wiki.minetest.net/Ores#Ores_overview does no longer exist 07:15 Krock was it lost during the "migration"? 07:15 [MatrxMT] yes, the migration to docs.luanti.org left out the Minetest Game docs 07:15 Krock hmm that sucks. I remember having a good overview about the MTG contents there 07:16 [MatrxMT] there's an archive download of the wiki but I can't remember where 07:16 Krock wayback machine I guess 07:16 [MatrxMT] `doc` mod does a decent job when in-game 07:16 MTDiscord <.zenonseth> there's at least game api docs here: https://github.com/luanti-org/minetest_game/blob/master/game_api.txt 07:16 [MatrxMT] https://forum.luanti.org/viewtopic.php?p=445571#p445571 07:16 Krock https://web.archive.org/web/20240313025136/https://wiki.minetest.net/Ores 07:17 [MatrxMT] I mean https://github.com/rollerozxa/mt-wiki-dumping-ground 07:17 [MatrxMT] the wayback machine probably won't have the wikitext 07:19 Krock good to have that backup. thanks. Unfortunately it's not very user-friendly in this format 07:19 Krock moving it to the Minetest Game Wiki (GitHub page) might be possible, though? 08:38 [MatrxMT] that's probably markdown and not wikitext, two different languages 09:16 Krock converters :3 09:16 Krock "Convert this to CommonMark, GitHub flavoured. Make no mistakes. Use as few tokens as possible." 09:53 pgimeno ISTR the github wiki accepted mediawiki format 09:58 pgimeno https://docs.github.com/en/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages#adding-wiki-pages 10:02 pgimeno IIRC depending on the extension, it could be read as MediaWiki markup. Not 100% sure but it might be .mwi 11:05 MTDiscord pandoc can convert wikitext to markdown, see wiki2md in my mt-wiki-dumping-ground repo 11:06 MTDiscord the primary issue that made us not do anything with the MTG content on the wiki was how much it relied on mediawiki templates and such 11:06 MTDiscord There very briefly was a mtg repo, but once crafting recipes where remove there was nest to nothing left so it was deleted 11:07 MTDiscord yeah crafting recipes, infoboxes, navboxes and the summary pages were all mediawiki template stuff. and the remaining info was... very little 11:08 MTDiscord see this gist for an example of a MTG wiki page converted to markdown: https://gist.github.com/rollerozxa/78fb38c270502f5ae2079f613dfe9cad 11:12 MTDiscord to be clear there is no reason you couldn't recreate all the templates in a static site generator. but it's work that nobody seemed to be interested in. crafting recipes and such are IMO better suited for in-game mods that retrieve it directly from the mods you have registered. other info about items and nodes may also be interesting to put into an encyclopedia-like book item accessible in-game - all wiki contents are CC-BY-SA 3.0 11:12 MTDiscord licensed iirc 11:16 Krock @rollerozxa well.. I figured as much with pandoc. However, Error at "Minetest+Wiki-20230925142325.xml" (line 116672, column 1): unexpected end of inpu 11:16 Krock t 11:16 MTDiscord uh? 11:17 Krock perhaps pandoc isn't meant to convert the entire xml? :3 11:17 MTDiscord you can't feed the XML directly into pandoc, you'll need to split it up for each article 11:18 MTDiscord yeah. it's just mediawiki's raw XML export format. it also only contains the last revision of each page as I could not do a full export without the wiki server timing out 11:20 Krock hmm.. is there any convenient tool to do that? 11:21 Krock most helpful StackOverflow answer https://stackoverflow.com/a/43958996 11:21 MTDiscord there might be something to work with mediawiki XML exports, but I tend to just use some XML parser library in python 11:22 Krock thanks GitHUb. viewing a Gist in the raw format gives 400: Invalid request 11:28 Krock pandoc properly converts the images (in tables) to HTML inside a markdown table but then decides to wrap the text, which breaks the HTML. good job. 11:29 Krock actually no. that's an issue with my markdown viewer 11:33 MTDiscord I do wish celeron55 could make the full wiki data accessible... my dumping ground repo was basically just supposed to be a best-effort backup of what I had from running the wiki.minetest.land proxy and doing data exports with Special:Export. neither of which I can guarantee are complete backups 11:33 MTDiscord mediawiki makes it a bit difficult to back up a wiki. there is no "export all pages" checkbox, and there is no page to get a list of all pages across all namespaces, Special:AllPages is paginated and you can only see pages for a namespace at a time. and Special:Export will not do anything for exporting images 11:34 Krock they might not want people to switch to another solution :3 11:36 MTDiscord potentially... 11:37 MTDiscord I mean mediawiki predates markdown, and I'm sure there are other things with mediawiki that are the way they are because... it's just always been like that 11:39 MTDiscord apparently there is a CLI maintenance script dumpBackup.php that c55 could run to get a more complete XML backup than the one I got: https://www.mediawiki.org/wiki/Manual:DumpBackup.php 11:44 Krock https://github.com/luanti-org/minetest_game/wiki/Ores 11:45 Krock copy & paste of the mediawiki page into the github editor 11:46 Krock added as .mediawiki file, directly. 11:46 MTDiscord oh interesting, so github's wiki does support wikitext directly? 11:46 Krock YES 11:46 Krock mass import coming soon 11:47 celeron55 let's see 11:48 celeron55 dumpBackup.php is at least printing lots of warnings so it's definitely doing something 11:57 celeron55 it generated a 1.9 million line XML file 11:59 MTDiscord sounds like a good sign 11:59 celeron55 ok so who wants this? 12:00 celeron55 are we on the same page about the publishability of this? I'm still wary of the-who-shall-not-be-named using accurate backup data like this for his scams so I'd rather share privately 12:01 celeron55 i'm fine with it if someone extracts the minetest_game content from this and publishes that in whatever form, but publishing the entire thing as-is seems unwise 12:02 Krock Imported the most important MTG pages to https://github.com/luanti-org/minetest_game/wiki/ 12:03 Krock though yet no images. Would be great if the ones from the main repo could be used here 12:04 MTDiscord unless I'm totally off about what dumpbackup.php exports, it should only dump publicly available data exportable from Special:Export. and he-who-shall-not-be-named seems to have already done his own export of the wiki that he has imported into his own 12:07 MTDiscord you can send it to me privately if you want me to check. but ideally it should be safe to just put up onto archive.org in the end 12:11 MTDiscord oh interesting... there was already a wikiteam backup of the wiki in november of 2024: https://archive.org/details/wiki-wiki.minetest.net-20241014 12:12 MTDiscord images included... I'm not sure how their mediawiki export tooling works because I've never gotten it to work myself 12:14 celeron55 i sent it to you on discord now 12:40 MTDiscord now that I found a dump of the wiki from november (like a month before we replaced it with the docs site?) that is much more complete than my own, I'm not sure if there is much more page revisions past that. but it seems safe to publish, at least 12:55 MTDiscord https://github.com/luanti-org/docs.luanti.org/issues/199#issuecomment-4826154607