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

            Bug ID: 73537
           Summary: Flow: using query API for revisions of Flow board page
                    gives wrong content and contentmodel.
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

If you use the API to query the revision history of a Flow board, you get
contentmodel: "flow-board" and *: "[]" for earlier non-Flow revisions of the
content.

This happens even where $wgContentHandlerUseDB = true;

Sample:
https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&prop=revisions&format=json&rvprop=timestamp|user|contentmodel|comment|parsedcomment|content&rvlimit=20&titles=Talk%3AFlow

Maybe this will fix itself when we remove Flow's Occupation controller.

Workaround: use Special:Export and uncheck "Include only the current revision,
not the full history."

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