Last modified: 2014-11-18 00:29:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75537, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73537 - Flow: using query API for revisions of Flow board page gives wrong content and contentmodel.
Flow: using query API for revisions of Flow board page gives wrong content an...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-18 00:29 UTC by spage
Modified: 2014-11-18 00:29 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-11-18 00:29:02 UTC
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."

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links