Page MenuHomePhabricator

Indicate if an import failed due to revision limit on export
Open, LowPublic

Description

Please create an errormessage if the import fails due to exceeding the limit of
versions (actual > 100).

The messages now are very confusing:

  • Importing pages...
  • No pages to import.
  • Import succeeded!

Thanks.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=5701

Details

Reference
bz6646

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:18 PM
bzimport set Reference to bz6646.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

This isn't quite as simple as it seems; the error message is thrown because the
XML stream coming from the "other wiki" appears to contain no page records or
revisions. This might be for reasons other than the source page having too many
revisions.

Injecting something into the exported stream in this case sounds a bit iffy to me.

robchur wrote:

(In reply to comment #1)

Injecting something into the exported stream in this case sounds a bit iffy to me.

Although doing it in an "XML-compatible" manner, e.g.

<error type="toomanyrevisions" />

wouldn't be too bad.

Wiki.Melancholie wrote:

At the moment the message "Import failed: Could not open import file" is shown in the case when too many revisions are to be imported. No import at all is done then.
Does someone know what the current limit of revisions is?

The answer would fix Bug 7032, too ;-)

Mass compoment change: <some> -> Export/Import

Least in Finnish wikipedia export seems to export only first 100~ revisions and then skips the rest. One cannot export whole article history.

  • Bug 15907 has been marked as a duplicate of this bug. ***

For reference, this seems to be talking about transwiki import (not XML-upload) hitting the revision limit on the export side, and this fact not being mentioned on the import side.

If only Special:Import used the API!