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

       Web browser: ---
             Bug #: 34925
           Summary: create maintenance script for Migration of text from
                    archive table to text table
           Product: MediaWiki
           Version: 1.20-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The table archive has a the old fields archive.ar_text/archive.ar_flags. Before
removing that fields (bug 31223) a maintenance script is needed to move the
text to the text table.

Calling Revision::newFromArchiveRow for each row with archive.ar_text_id IS
NULL to extract the text with all flags.
But no idea how MediaWiki saves the text back to the right table and cleaning
up the archive table, because we do not do undeletion (In that case
Revision::insertOn does the work).

-- 
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