Page MenuHomeMiraheze

Wiki sysops can't use WikiTeam script to backup their wikis.
Closed, InvalidPublic

Description

It'd be handy for wiki sysops to be able to backup their wiki any time they choose (e.g. when there has been major changes) rather than having to wait until the next scheduled backup dump, which could be a week away. The easy way to do this is with the WikiTeam's dumpgenerator.py script.

However running this on a Miraheze wiki

python dumpgenerator.py --api=https://mywiki.miraheze.org/w/api.php --xml --images

gives the error: "Error in index.php, please, provide a correct path to index.php"

Event Timeline

@Rob_Kam Will look. Please note that you can still request manual (not scheduled backups at any time)

Reception123 triaged this task as Normal priority.Nov 11 2017, 16:36
Reception123 added a project: MediaWiki.

Have you tried python dumpgenerator.py --api=https://mywiki.miraheze.org/w/api.php --index=https://mywiki.miraheze.org/w/index.php --xml --images in their README? Does this give same result?

@Rob_Kam Will look. Please note that you can still request manual (not scheduled backups at any time)

That's useful, thanks.

In T2418#45729, @revi wrote:

Have you tried python dumpgenerator.py --api=https://mywiki.miraheze.org/w/api.php --index=https://mywiki.miraheze.org/w/index.php --xml --images in their README? Does this give same result?

That's gives the same problem. Only fetching the latest revision of Main page but all the images and descriptions.

The api.php definitely works.. https://meta.miraheze.org/w/api.php

I can see the api page fine, the WikiTeam script appears to run without error but there is only XML for the wiki's Main page, not for the full wiki contents.

@Rob_Kam Sorry for the very late response, doing a cleanup of Phabricator tasks.

Is this still an issue for you currently?

John subscribed.

This seems an upstream issue as we don't do anything special. Until Upstream can say it is definitely us and give a reason why, best to contact them.

This comment was removed by Rob_Kam.
This comment was removed by Rob_Kam.