It was somehow overlooked that prop=revisions&rvdiffto= also requires
that the content for the current revision be fetched.
Change-Id: Ie1d718458da8cdb6ba63bd7ea512db3b299fc1e2
$content = null;
global $wgParser;
- if ( $this->fld_content || !is_null( $this->difftotext ) ) {
+ if ( $this->fld_content || !is_null( $this->diffto ) || !is_null( $this->difftotext ) ) {
$content = $revision->getContent();
// Expand templates after getting section content because
// template-added sections don't count and Parser::preprocess()