r110251 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r110250
|
r110251
|
r110252
>
Date:
19:05, 29 January 2012
Author:
ialex
Status:
ok
Tags:
Comment:
* (
bug 33967
) "Previous revision" and "Newer revision" links now display the correct revision
(No RELEASE-NOTES entry since that's a 1.19-only bug)
Modified paths:
/trunk/phase3/includes/Article.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Article.php
—
—
@@ -262,6 +262,7 @@
263
263
$nextid = $this->getTitle()->getNextRevisionID( $oldid );
264
264
if ( $nextid ) {
265
265
$oldid = $nextid;
266
+ $this->mRevision = null;
266
267
} else {
267
268
$this->mRedirectUrl = $this->getTitle()->getFullURL( 'redirect=no' );
268
269
}
—
—
@@ -269,6 +270,7 @@
270
271
$previd = $this->getTitle()->getPreviousRevisionID( $oldid );
271
272
if ( $previd ) {
272
273
$oldid = $previd;
274
+ $this->mRevision = null;
273
275
}
274
276
}
275
277
Status & tagging log
19:13, 29 January 2012
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r110251
[
removed:
new
added:
ok]