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

            Bug ID: 65256
           Summary: Allow ContentHandler to transform content on import
                    and export
           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 should have importTransform( $text, $format ) and
exportTransform( $text, $format ) methods to be called when importing/exporting
pages. Per default, these functions would pass the text through unchanged.

The purpose of having these functions would be to give the ContentHandler a
chance to validate or transform imported content according to local settings,
and to normalize (possible old legacy) content serializations on export.

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