Page MenuHomePhabricator

Special:Import does not overwrite/update existing pages
Closed, InvalidPublic

Description

Author: Martin.Szugat

Description:
Importing pages (via Special:Import) does not update or overwite existing pages with
the imported content.


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz4519

Event Timeline

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

It should indeed include the imported content in the page
history. What it might not be doing yet is updating the latest
revision, if the imported revisions are newer than the old ones.
Can you confirm?

I belive that an update to the current version should only be forced if that was
requested explicitely. It meight not be what is wanted.

Failing to update the current version leaves the database in an inconsistent state, with an
incorrect page_latest field.

Martin.Szugat wrote:

(In reply to comment #1)

It should indeed include the imported content in the page history. What it might

not be doing yet is updating the latest revision, if the imported revisions are
newer than the old ones. Can you confirm?

Yes, I can. It works as expected if the imported page is newer than the existing
page.