* Forbid usernames that can be interpreted as titles with namespaces, as that
leads to hard-to-manage names.
* (bug 2721) Regression: Use European number separators for vi: wikis
+* Allow parser cache on redirect targets
=== Caveats ===
$redir = $sk->makeKnownLink( $this->mRedirectedFrom, '', 'redirect=no' );
$s = wfMsg( 'redirectedfrom', $redir );
$wgOut->setSubtitle( $s );
- # Can't cache redirects
- $pcache = false;
+
+ // Check the parser cache again, for the target page
+ if( $pcache ) {
+ if( $wgOut->tryParserCache( $this, $wgUser ) ) {
+ $outputDone = true;
+ }
+ }
$wasRedirected = true;
}
} elseif ( !empty( $rdfrom ) ) {
$wasRedirected = true;
}
}
-
+ }
+ if( !$outputDone ) {
# wrap user css and user js in pre and don't parse
# XXX: use $this->mTitle->usCssJsSubpage() when php is fixed/ a workaround is found
if (