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

            Bug ID: 72361
           Summary: Call ContentHandler::exportTransform in
                    backupTextPass.inc and friends
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentHandler
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

ContentHandler::exportTransform needs to be called whenever serialized content
is written to an (XML) dump. The WIkiExporter class used by SPecialExport and
dumpBackup already does this, but backupTextPass.inc, which is used by the dump
generation script on the live cluster, bypasses this.

Other maintenance scripts, like fetchText.php, should probably also apply
exportTransform. Generally, all code that calls Revision::getRevisionText
should be checked.

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