Function returned early, so further processing didn't happen in the section case.
* (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
* (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
* (bug 12935) Fully-qualify archive URLs correctly in deletion message
+* (bug 12938) Fix template expansion and 404 returns for action=raw with section
== Parser changes in 1.12 ==
if ( !is_null($this->mSection ) ) {
global $wgParser;
- return $wgParser->getSection ( $rev->getText(), $this->mSection );
+ $text = $wgParser->getSection ( $rev->getText(), $this->mSection );
} else
$text = $rev->getText();
$found = true;