Page MenuHomePhabricator

Add cross-wiki Special:Import support
Open, Needs TriagePublic

Description

See action=import on https://nl.wikipedia.org/w/api.php and pageimport.py on compat


Version: core-(2.0)
Severity: normal

Details

Reference
bz64877

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:16 AM
bzimport added a project: Pywikibot-General.
bzimport set Reference to bz64877.
bzimport added a subscriber: Unknown Object (????).

'import' functionality from pageimport.py should be added to core scripts transferbot.py / replicate_wiki.py

droid added a subscriber: droid.Mar 26 2015, 7:17 PM

Hello @jayvdb ,
Please add in more on what is expected to be done for this task?
Presently, I have added import functionality in pywikibot/page.py and i'm unable to progress further on how to add them in the above mentioned scripts.

Change 201582 had a related patch set uploaded (by Prianka):
Added cross-wiki Special:Import support in core.

https://gerrit.wikimedia.org/r/201582

jayvdb added a subscriber: XZise.Apr 2 2015, 10:18 PM

As @XZise has suggested on the changeset, API action 'import' should be added as a new method in APISite.

Change 201582 abandoned by Xqt:
Added cross-wiki Special:Import support in core.

Reason:
Not an appropriate implementation. api action=Import should be used instead of old compat-like special page api.

https://gerrit.wikimedia.org/r/201582