Page MenuHomePhabricator

Add cross-wiki Special:Import support
Open, LowPublicFeature

Description

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


Version: core-(2.0)
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:16 AM
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

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

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

Aklapper triaged this task as Low priority.Feb 4 2022, 8:11 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".