https://bugzilla.wikimedia.org/show_bug.cgi?id=49143
--- Comment #2 from Gabriel Wicke <[email protected]> --- We should provide an abstract interface to retrieve parts of multi-part content, so that the storage implementation in the backend can be optimized independently. Possibly something like this: $html = $rev->getPart( "html" ); $wikitext = $rev->getPart( "wikitext" ); $pageProps = json_decode( $rev->getPart( "pageprops" ) ); Parts can be set / updated with $rev->setPart( "key", "value" ); The backend is free to store each part independently or concatenate parts with some efficient segmentation mechanism. This part interface can be used by higher-level content handlers to implement a consistent ContentHandler interface. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
