Updated mediawiki/extensions
Project: mediawiki/extensions/Flow  ea51749705e4f2e226699a346dfff3a9ab2c2d98

Ensure posts created by TopicListQuery::createFakePosts render

These fake posts are created when a UUID is identified as part
of the topic tree, but for one reason or another could not
be loaded from the database.

Unfortunatly the call to AbstractQuery::getCurrentRevision was
causing these fake posts to not render, we were not able to
locate the current revision (because thats the fake post).

Based on the queries in TopicListQuery we know that the only
revisions loaded are the most recent versions, so override
AbstractQuery::getCurrentRevision and return them directly.

The easiest way to see the patch work is to add

  unset( $posts[array_rand($posts)] );

to TopicListQuery::getResults immediatly after

  $posts = $this->collectRevisions( $allPostIds );

Change-Id: Idc183dbb5e51c4aeb7025d4a68ae9e429f08d45f