Last modified: 2013-07-23 22:53:52 UTC
To make it simple for Gadget developers to synchronize code into wiki installations I would suggest enable some system where commits automatically gets synchronized onto the wiki in question
One possibility would be to make MediaWiki:*.js to use a cached git backend :-D That would be a lot of fun.
Automatic? Sounds scary...
Interesting idea, Carl. Could you draft up a use-case scenario for this so it is clear what you want to happen and maybe throw it up on the [[https://www.mediawiki.org/wiki/Requests_for_comment RFC page]] for MediaWiki/propose it on the wikitech-l mailing list? Thanks!
I'm pretty sure that with enough determination and some though this could be implemented in git as a transport (or just as two commands minicking pull and push). You'd probably have to store some metadata as code comments, though (or in a separate MediaWiki: page), to be able to correctly recreate the commits with their SHA1 hashes on pull (or you could amend them on push, but that would be ugly). I even started implementing something like this myself, but then decided it was too much trouble to be worth it. Your priorities might be different from mine, though :P
bah, bad linking: https://www.mediawiki.org/wiki/Requests_for_comment sorry 'bout that.
Changing summary, comment 0 doesn't seem to be about linking.
Actually, the more I think about it the more I don't like the idea one bit. WONTFIX. The solution for Gadgets and Lua won't utilize Gerrit at all.