[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pywikipediabot-users
Subject:    Re: [pywikibot] Rebasing wikitext
From:       André Costa <lokal.profil () gmail ! com>
Date:       2017-02-20 12:54:05
Message-ID: CAPzQtCYUfDvKwx5+uGVADjQN4+djAbiddeVR7vPNZdUfwibc2w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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=C3=A9

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 Dropb=
ox
> uses this approach for revisions.
>
> Alex
>
> 2017-02-06 10:49 GMT+01:00 Andr=C3=A9 Costa <lokal.profil@gmail.com>:
>
>> Thanks!
>>
>> I was completely unaware of that experiment. WIll look into it during th=
e
>> week.
>>
>> /Andr=C3=A9
>>
>> 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=C3=A9 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 t=
he
>>> > 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=C3=A9 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
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>I gave Levitation a try.<br><br></div>After some \
finessing I could get it to do what I wanted, I documented it in <a \
href="https://phabricator.wikimedia.org/T157233">https://phabricator.wikimedia.org/T157233</a> \
in case someone is interested.<br><br>I&#39;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&#39;m unlikely to do that so likely will not \
continue this experiment.<br><br></div>Cheers,<br></div>André<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On 6 February 2017 at 16:33, Alex \
Brollo <span dir="ltr">&lt;<a href="mailto:alex.brollo@gmail.com" \
target="_blank">alex.brollo@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">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&#39;m not wrong Dropbox uses this approach for revisions.<span class="HOEnZb"><font \
color="#888888"><div><br></div><div>Alex</div></font></span></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">2017-02-06 10:49 GMT+01:00 André Costa <span dir="ltr">&lt;<a \
href="mailto:lokal.profil@gmail.com" \
target="_blank">lokal.profil@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div>Thanks!<br><br></div>I was \
completely unaware of that experiment. WIll look into it during the week.<span \
class="m_4024631563199415473HOEnZb"><font \
color="#888888"><br><br></font></span></div><span \
class="m_4024631563199415473HOEnZb"><font \
color="#888888">/André<br></font></span></div><div \
class="m_4024631563199415473HOEnZb"><div class="m_4024631563199415473h5"><div \
class="gmail_extra"><br><div class="gmail_quote">On 2 February 2017 at 15:09, Strainu \
<span dir="ltr">&lt;<a href="mailto:strainu10@gmail.com" \
target="_blank">strainu10@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">I haven&#39;t tested this and it&#39;s unmaintained, but I \
remember saying<br> &quot;how cool is that&quot; when I first saw it:<br>
<a href="http://scytale.name/blog/2009/11/announcing-levitation" rel="noreferrer" \
target="_blank">http://scytale.name/blog/2009/<wbr>11/announcing-levitation</a><br> \
<br> Once you&#39;re in git, what you want would be pretty much straightforward.<br>
<br>
Strainu<br>
<div><div class="m_4024631563199415473m_8891620034849954495h5"><br>
2017-02-02 15:10 GMT+02:00 André Costa &lt;<a href="mailto:lokal.profil@gmail.com" \
target="_blank">lokal.profil@gmail.com</a>&gt;:<br> &gt; I&#39;m investigating the \
possibility of rebasing wikitext. I.e. attempting to<br> &gt; replay user edits on \
top of a changed base text. I was wondering if this is<br> &gt; something anyone else \
on this list has attempted/done?<br> &gt;<br>
&gt; The background is a batchupload of images where I&#39;d like to replace the<br>
&gt; description page but would like to do that without nuking contributions done<br>
&gt; to the page since it was created (or at least minimise/identify these)<br>
&gt;<br>
&gt; Cheers,<br>
&gt; André Costa / Lokal_Profil<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; pywikibot mailing list<br>
&gt; <a href="mailto:pywikibot@lists.wikimedia.org" \
target="_blank">pywikibot@lists.wikimedia.org</a><br> &gt; <a \
href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/ma<wbr>ilman/listinfo/pywikibot</a><br> \
&gt;<br> <br>
______________________________<wbr>_________________<br>
pywikibot mailing list<br>
<a href="mailto:pywikibot@lists.wikimedia.org" \
target="_blank">pywikibot@lists.wikimedia.org</a><br> <a \
href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/ma<wbr>ilman/listinfo/pywikibot</a><br> \
</blockquote></div><br></div> \
</div></div><br>______________________________<wbr>_________________<br> pywikibot \
mailing list<br> <a href="mailto:pywikibot@lists.wikimedia.org" \
target="_blank">pywikibot@lists.wikimedia.org</a><br> <a \
href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/ma<wbr>ilman/listinfo/pywikibot</a><br> \
<br></blockquote></div><br></div> \
</div></div><br>______________________________<wbr>_________________<br> pywikibot \
mailing list<br> <a href="mailto:pywikibot@lists.wikimedia.org">pywikibot@lists.wikimedia.org</a><br>
 <a href="https://lists.wikimedia.org/mailman/listinfo/pywikibot" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/<wbr>mailman/listinfo/pywikibot</a><br> \
<br></blockquote></div><br></div>


[Attachment #6 (text/plain)]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic