Hi - In order to reduce the burden of dealing with images on my MediaWiki
site, I upload all my images to my Flickr account; then I use an interwiki
link to point to the images. Saves me from dealing with backup/restore etc.
Just a thought.
Jean-Lou
PS: I have crafted PHING tasks that deal with SVN commands if you are
interested.
On Nov 30, 2007 1:59 PM, Daniel Barrett <danb(a)vistaprint.com> wrote:
Does anyone know of a MediaWiki extension to provide
revision control
for uploaded images, say, via subversion?
On first thought it seems easy -- just let the /images folder be a
subversion working copy, and run hooks to do "svn add/commit" on upload
or "svn delete/commit" on deletion, providing the user comment as an svn
comment. Maybe the hardest parts would be:
* The necessary "svn add" operations when new subfolders get
created in /images.
* Adding this extension to an existing wiki that hasn't been
running it before (i.e., only some historical images will be in
subversion)
* Doing a "history" command on an image file, as opposed to the
article in the Image: namespace... UI considerations....
A very simple, though incomplete, implementation, would be to run an svn
commit (and associated adds & deletes) every N minutes on /images. That
might yield 80% of the benefits without writing an extension.
Thoughts?
DanB
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l