I gave Levitation a try.

After some finessing I could get it to do what I wanted, I documented it in https://phabricator.wikimedia.org/T157233 in case someone is interested.

I'm not sure how effective git was at automatically resolving the conflicts during the rebase so in order for this to fully work for me I would have to integrate the git part better in my script to have some sort of assisted conflict resolution. I'm unlikely to do that so likely will not continue this experiment.

Cheers,
André

On 6 February 2017 at 16:33, Alex Brollo <alex.brollo@gmail.com> wrote:
I see a great advantage using diffs as history of pages - a trick to make revisions much lighter, even for very heavy pages. If I'm not wrong Dropbox uses this approach for revisions.

Alex

2017-02-06 10:49 GMT+01:00 André Costa <lokal.profil@gmail.com>:
Thanks!

I was completely unaware of that experiment. WIll look into it during the week.

/André

On 2 February 2017 at 15:09, Strainu <strainu10@gmail.com> wrote:
I haven't tested this and it's unmaintained, but I remember saying
"how cool is that" when I first saw it:
http://scytale.name/blog/2009/11/announcing-levitation

Once you're in git, what you want would be pretty much straightforward.

Strainu

2017-02-02 15:10 GMT+02:00 André Costa <lokal.profil@gmail.com>:
> I'm investigating the possibility of rebasing wikitext. I.e. attempting to
> replay user edits on top of a changed base text. I was wondering if this is
> something anyone else on this list has attempted/done?
>
> The background is a batchupload of images where I'd like to replace the
> description page but would like to do that without nuking contributions done
> to the page since it was created (or at least minimise/identify these)
>
> Cheers,
> André Costa / Lokal_Profil
>
> _______________________________________________
> pywikibot mailing list
> pywikibot@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikibot
>

_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot


_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot



_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot