Re: [EXTERNAL] [BULK] Re: R integration for MediaWiki
Spencer Graves <[email protected]> Tue, 30 Dec 2025 12:22:19 -0600
| Newsgroups | gmane.comp.lang.r.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Rich: I would not recommend automatically updated plots in Wikipedia without an intermediate human check, though you might do it for, e.g., a corporate Wiki that uses the MediaWiki software. However, you should be able to git clone https://github.com/sigbertklinke/R Then create your own version to do what you want and offer it as a replacement for "https://www.mediawiki.org/w/index.php?title=Extension:R&oldid=4384988". Of course, if you are the only user, you may not want to invest the time required to do that. sg On 12/30/25 12:11, Evans, Richard K. (GRC-H000) wrote: > Hi Spencer, > > Thanks for the quick reply. Iiuc, what you are describing is the ability to document R code in MediaWiki pages with R specific syntax highlighting. This is provided by MediWiki's "SyntaxHighlight" extension, which provides that language specific syntax highlighting for many different programing languages, including R. > > What I'm looking for, and info on anything people might still be using to do what the MediaWiki R Extension did way back when it was available. Specifically, it actually processed R code when the page is saved and delivered a limited type of output (presumably a single plot output) back to the wiki for viewing. > > /Rich > > -----Original Message----- > From: Spencer Graves <[email protected]> > Sent: Tuesday, December 30, 2025 9:09 AM > To: Evans, Richard K. (GRC-H000) <[email protected]>; [email protected] > Subject: [EXTERNAL] [BULK] Re: [R] R integration for MediaWiki > > CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC. > > > > > Hi, Rich: > > > I have NOT used that, but I have R Markdown code in appendices to article on Wikiversity under "Category:R Markdown vignettes".[1] In addition to ending with "[[Category:R Markdown vignettes]]", I set all code from vignettes between "<syntaxhighlight lang="text">" and "</syntaxhighlight>". > > > I do not know if this is of interest to you or anyone else. > > > Best Wishes, Spencer Graves > > > p.s. I am actively developing "MaddisonData" and "WID" packages on GitHub,[2] which facilitate analysis of data from the Maddison Data Project and the World Inequality Database. I am NOT and economist and could use collaborators who could help get articles using these packages published in appropriate refereed academic journals, in exchange for joint authorship, of course. > > > [1] Wikiversity, "Category:R Markdown vignettes": > > > https://en.wikiversity.org/wiki/Category:R_Markdown_vignettes > > > [2] I'm "sbgraves237" on GitHub: > > > https://github.com/sbgraves237 > > > I'm especially interested in collaborators for "MaddisonData": > > > https://github.com/sbgraves237/MaddisonData > > > and "WID": > > > https://github.com/sbgraves237/WID > > > On 12/30/25 07:13, Evans, Richard K. (GRC-H000) via R-help wrote: >> Hello, >> I am interested in finding out if there re any active projects that provide R integration to MediaWiki. From 2006 to 2016 there was an extension for MediaWiki called "R". >> >> Ref: >> https://www/. >> mediawiki.org%2Fw%2Findex.php%3Ftitle%3DExtension%3AR%26oldid%3D438498 >> 8&data=05%7C02%7Crichard.k.evans%40nasa.gov%7Cf1b1a608cffd436563ff08de >> 47acfc67%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C6390270054727557 >> 89%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCI >> sIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=% >> 2BMJLPhrGBqIRO4OBQcBNTQEaTL1mdS4ouEuuGvOPAmM%3D&reserved=0 >> >> If anyone is still using this extension or knows of something similar. Please let me know. >> >> Thank you, >> /Rich >> >> ______________________________________________ >> [email protected] mailing list -- To UNSUBSCRIBE and more, see >> https://stat/ >> .ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C02%7Crichard.k.evans% >> 40nasa.gov%7Cf1b1a608cffd436563ff08de47acfc67%7C7005d45845be48ae8140d4 >> 3da96dd17b%7C0%7C0%7C639027005472775419%7CUnknown%7CTWFpbGZsb3d8eyJFbX >> B0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIs >> IldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=1aX58RPhCikYMIAoQwnIFgH3wtLvuZxKVs >> %2FOwLlreH4%3D&reserved=0 PLEASE do read the posting guide >> https://www/. >> r-project.org%2Fposting-guide.html&data=05%7C02%7Crichard.k.evans%40na >> sa.gov%7Cf1b1a608cffd436563ff08de47acfc67%7C7005d45845be48ae8140d43da9 >> 6dd17b%7C0%7C0%7C639027005472793342%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU >> 1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldU >> IjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=4Kyv8a4a%2BFUod4738p6OBHZ3zhnMADONQHHe >> 0xxHYxo%3D&reserved=0 and provide commented, minimal, self-contained, >> reproducible code. >