https://bugzilla.wikimedia.org/show_bug.cgi?id=17554

           Summary: Special:IMport should optionally set timestamp and
                    summary comment
           Product: MediaWiki
           Version: 1.13.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Export/Import
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The easiest way to search-and-replace in MediaWiki is to use Special:Export,
then edit the export dump file, then use Special:Import.  Unfortunately, there
are two pieces missing from this method: 

- All <timestamp> fields are wrong, because the import is happening NOW, not at
the time of the last revision
- All summary comments are wrong, because they don't mention the
search-and-replace operation.

To achieve this right now, we have to edit the dump file to change timestamps
and summary comments... but couldn't Special:Import do this for us, optionally?
 (Or perhaps maintenance/importDump.php?)

I suggest adding two new fields to Special:Import:

1. A checkbox, "Set all import timestamps to NOW", defaulted to unchecked
2. A text input, "Override all summary comments", defaulted to empty

and/or modifying maintenance/importDump.php to add these features via command
line.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to