[MediaWiki-l] Dump of recents changes

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Dump of recents changes

go moko
Hi, all

I've a private wiki, which must be duplicated elsewhere.
I do this with a DumpBackup operation, then a importDump (this is quite long...).
Now, I'd like to update this duplicated wiki, on some weekly basis for example, but without using the full dump, only a dump of the pages which has been changed since a given date. I don't found any utility to get this kind of dump without tedious manual operations on Special Recents Changes page.
Can you tell me if such an operation is possible, and how?

Thanks for your help

G. Moko
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

John Doe-27
In the maintenance folder there should be a rebuild recent changes script.

On Tue, Dec 19, 2017 at 4:03 AM, go moko <[hidden email]> wrote:

> Hi, all
>
> I've a private wiki, which must be duplicated elsewhere.
> I do this with a DumpBackup operation, then a importDump (this is quite
> long...).
> Now, I'd like to update this duplicated wiki, on some weekly basis for
> example, but without using the full dump, only a dump of the pages which
> has been changed since a given date. I don't found any utility to get this
> kind of dump without tedious manual operations on Special Recents Changes
> page.
> Can you tell me if such an operation is possible, and how?
>
> Thanks for your help
>
> G. Moko
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

go moko
Thanks; but I don't understand how I can get a dump of the recent changed pages with this script. As I understand (the doc is very succinct), it updates the current wiki, but doesn't extract anything...
 

    On Tuesday, December 19, 2017, 1:16:01 PM GMT+1, John <[hidden email]> wrote:  
 
 In the maintenance folder there should be a rebuild recent changes script.

On Tue, Dec 19, 2017 at 4:03 AM, go moko <[hidden email]> wrote:

> Hi, all
>
> I've a private wiki, which must be duplicated elsewhere.
> I do this with a DumpBackup operation, then a importDump (this is quite
> long...).
> Now, I'd like to update this duplicated wiki, on some weekly basis for
> example, but without using the full dump, only a dump of the pages which
> has been changed since a given date. I don't found any utility to get this
> kind of dump without tedious manual operations on Special Recents Changes
> page.
> Can you tell me if such an operation is possible, and how?
>
> Thanks for your help
>
> G. Moko
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
 
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

John Doe-27
When you restore the previous dump it rebuilds the recent changes table
based off what was imported

On Tue, Dec 19, 2017 at 2:55 PM go moko <[hidden email]> wrote:

> Thanks; but I don't understand how I can get a dump of the recent changed
> pages with this script. As I understand (the doc is very succinct), it
> updates the current wiki, but doesn't extract anything...
>
>
>     On Tuesday, December 19, 2017, 1:16:01 PM GMT+1, John <
> [hidden email]> wrote:
>
>  In the maintenance folder there should be a rebuild recent changes script.
>
> On Tue, Dec 19, 2017 at 4:03 AM, go moko <[hidden email]> wrote:
>
> > Hi, all
> >
> > I've a private wiki, which must be duplicated elsewhere.
> > I do this with a DumpBackup operation, then a importDump (this is quite
> > long...).
> > Now, I'd like to update this duplicated wiki, on some weekly basis for
> > example, but without using the full dump, only a dump of the pages which
> > has been changed since a given date. I don't found any utility to get
> this
> > kind of dump without tedious manual operations on Special Recents Changes
> > page.
> > Can you tell me if such an operation is possible, and how?
> >
> > Thanks for your help
> >
> > G. Moko
> > _______________________________________________
> > MediaWiki-l mailing list
> > To unsubscribe, go to:
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

Bartosz Dziewoński
In reply to this post by go moko
I've never used this myself, but dumpBackup.php has options like
--revrange, --revstart and --revend. Perhaps these can do it?

--
Bartosz Dziewoński

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

John Doe-27
That is for revision I'd based dumping. Once the dump is imported, just run
rebuild recent changes and it will recreate the recent changes information

On Tue, Dec 19, 2017 at 4:19 PM Bartosz Dziewoński <[hidden email]>
wrote:

> I've never used this myself, but dumpBackup.php has options like
> --revrange, --revstart and --revend. Perhaps these can do it?
>
> --
> Bartosz Dziewoński
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

Bartosz Dziewoński
On 2017-12-19 22:46, John wrote:
> That is for revision I'd based dumping. Once the dump is imported, just run
> rebuild recent changes and it will recreate the recent changes information

I have no idea why you keep talking about recent changes when no one
asked anything about them.

--
Bartosz Dziewoński

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

John Doe-27
Sorry my fail I mis read the the thread

On Tue, Dec 19, 2017 at 6:02 PM Bartosz Dziewoński <[hidden email]>
wrote:

> On 2017-12-19 22:46, John wrote:
> > That is for revision I'd based dumping. Once the dump is imported, just
> run
> > rebuild recent changes and it will recreate the recent changes
> information
>
> I have no idea why you keep talking about recent changes when no one
> asked anything about them.
>
> --
> Bartosz Dziewoński
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Dump of recents changes

go moko
In reply to this post by Bartosz Dziewoński
Thanks.I'll look at this; I don't consider these options.I wondered what was --stub option and dumpTextPass.php, but there's not a lot of description, ond it seems not to fit my needs.


    On Tuesday, December 19, 2017, 10:19:08 PM GMT+1, Bartosz Dziewoński <[hidden email]> wrote:  
 
 I've never used this myself, but dumpBackup.php has options like
--revrange, --revstart and --revend. Perhaps these can do it?

--
Bartosz Dziewoński

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
 
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l