https://bugzilla.wikimedia.org/show_bug.cgi?id=40009
--- Comment #20 from This, that and the other <[email protected]> --- I observe that this bug does *not* occur when importing additional revisions to an existing page (see [[testwiki:Kennebunk Free Library]]). I now suspect this is because, upon importing each revision, Import#importOldRevision creates a new WikiPage object to check whether the page being imported already exists on the target wiki. This existence check is performed using the slave database servers. If the page does not exist, the site-wide article count is incremented. Because this process happens several times in quick succession (once for each revision of the new page), the slave databases have not caught up to the fact that the page was created upon the import of the first revision. So the site-wide article count is incremented once for each revision. (This also explains why I couldn't reproduce the issue locally! I don't have a master/slave setup.) If my theory is right, a workaround for this issue, until it can be resolved, would be to create the page you want to import (with bogus content) before importing. Then, once the import is done, you can delete the page and selectively restore all revisions except the bogus revision. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
