Page MenuHomePhabricator

[MirrorTools] Implement capability for mirroring all revisions that occur on the remote wiki by accepting revisions pushed from a bot
Closed, ResolvedPublic

Description

Implement [[mw:Extension:MirrorTools]] capability for mirroring all revisions that occur on the remote wiki by accepting revisions pushed from a bot. This could be done either by import or by an API module. If by import, then bug 57490 needs to be fixed. Either way, database fields need to be added to the revision table to store data about the mirrored revision (e.g. rev_id, rev_page, rev_user, rev_user_text, and rev_parent_id) on the remote wiki. Maybe the same needs to be done for recentchanges.


Version: master
Severity: enhancement

Details

Reference
bz60093

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:56 AM
bzimport set Reference to bz60093.
bzimport added a subscriber: Unknown Object (MLST).

What's the best way to push Wikipedia API-obtained data into Inclupedia? Import it or POST it into a (as-yet-unwritten) API module?

Importing is already designed for bringing in revisions with timestamps other than now. On the other hand, I also get the impression that importing is inefficient, because it seems to take forever whenever you're trying to import a lot of stuff. The API module would require either a lot of code duplication in the extension, or a bunch of changes to be made to core functions that currently lack timestamp parameters. Will people will be cool with making those changes to accommodate Inclupedia's needs?