r71485 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r71484
|
r71485
|
r71486
>
Date:
14:13, 23 August 2010
Author:
platonides
Status:
ok
Tags:
Comment:
Use the common code at switch end if viewing the current version of a page using the permalink.
Title related
r64876
and
r64934
were not applied in that case, nor were they getting their
getRobotPolicy(), like other old revisions (noindex,nofollow).
Modified paths:
/trunk/phase3/includes/Article.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Article.php
—
—
@@ -962,13 +962,11 @@
963
963
if ( $oldid === $this->getLatest() && $this->useParserCache( false ) ) {
964
964
$this->mParserOutput = $parserCache->get( $this, $parserOptions );
965
965
if ( $this->mParserOutput ) {
966
- wfDebug( __METHOD__ . ": showing parser cache for current rev permalink\n" );
966
+ wfDebug( __METHOD__ . ": showing parser cache for current rev permalink\n" );
967
967
$wgOut->addParserOutput( $this->mParserOutput );
968
968
$wgOut->setRevisionId( $this->mLatest );
969
- $this->showViewFooter();
970
- $this->viewUpdates();
971
- wfProfileOut( __METHOD__ );
972
- return;
969
+ $outputDone = true;
970
+ break;
973
971
}
974
972
}
975
973
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r64876
Proposed cleanup of recent LanguageConverter-related commits:...
tstarling
13:38, 10 April 2010
r64934
Follow up
r64876
. Try to fix pagetitle-view-mainpage.
philip
13:04, 11 April 2010
Status & tagging log
15:10, 14 December 2010
😂
(
talk
|
contribs
)
changed the
status
of r71485
[
removed:
new
added:
ok]