JeroenDeDauw / GitHub

MediaWiki extension that allows embedding the content of files hosted in GitHub git repositories
https://professional.wiki/
Other
32 stars 20 forks source link

Support for gitlab community edition #55

Open calebgcooper opened 2 years ago

calebgcooper commented 2 years ago

Hi Just wondering if there are any plans to add support for GitLab community edition. The RAW urls for a file have "raw" appended near the end. For example:

For this URL to a project: https://gitlab.acme.com/project-folder/project/

The Raw URL to the README.md file in the master branch is: https://gitlab.acme.com/project-folder/project/-/raw/master/README.md

Thanks, Caleb

JeroenDeDauw commented 2 years ago

No plans to add it to this extension, and I'd recommend anyone who wants to put effort into creating this, to do it in https://github.com/ProfessionalWiki/ExternalContent instead.

calebgcooper commented 2 years ago

ok thanks following up, didn't know about ExternalContent that looks interesting..

JeroenDeDauw commented 2 years ago

It is basically a replacement for this extension, though it has not reached feature parity yet.

calebgcooper commented 2 years ago

Makes sense thanks again..