4 ms·
It is definitely a problem that contributing to Rosetta Code is only possible through a clumsy WikiMedia interface. This makes it difficult to test and maintai
by Athas 7y ago
It is definitely a problem that contributing to Rosetta Code is only possible through a clumsy WikiMedia interface. This makes it difficult to test and maintain the solutions for a given language. I'm not convinced a fork is the best solution, however. A tool for synchronising on-disk files with the wiki contents would have been sufficient, and seems eminently doable.
- sansnomme 7y agoSomething that uses Repl.it or tio.run or klipse would be even better.
- adius 7y agoI‘m planing to add support for those platforms. E.g. providing a button to run the code on them for the beginning ...
- trynewideas 7y agoThere's a GitHub extension to transclude content from a GH repo into a MediaWiki page, allowing the code to be managed separately from the wiki presentation: https://github.com/JeroenDeDauw/GitHub#github-extension-for-mediawiki https://github.com/JeroenDeDauw/GitHub#github-extension-for-... There's an older, more generic git transclusion extension for MediaWiki that needs a maintainer and updates: https://www.mediawiki.org/wiki/Extension:Git2Pages https://www.mediawiki.org/wiki/Extension:Git2Pages And approaching the problem from the other end, there's the git porcelain git-remote-mediawiki that translates git commands into MediaWiki API requests: https://github.com/Git-Mediawiki/Git-Mediawiki https://github.com/Git-Mediawiki/Git-Mediawiki Git-Mediawiki is also known as mw-to-git in git's `contrib`: https://git.kernel.org/pub/scm/git/git.git/tree/contrib/mw-to-git https://git.kernel.org/pub/scm/git/git.git/tree/contrib/mw-t...
- trynewideas 7y agoIn particular re: the concerns raised by forgotpwd16 about losing history, Git-Mediawiki preserves the wiki's change history.
- gus_massa 7y agoIn Rosetta Code you can split the code and insert some text and formulas between them. Sometimes it makes the explanation easier. Also, the free form in useful to add different ways to solve the task and compare them. The problem is that you must trust your cut&paste abilities to not break the code :).