r79452 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r79451
|
r79452
|
r79453
>
Date:
22:42, 1 January 2011
Author:
reedy
Status:
ok
Tags:
Comment:
Per Nikerabbit on IRC, and Bryan on CR (
r79451
), change back for ===, and intval( $oldid )
Modified paths:
/trunk/phase3/includes/api/ApiParse.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiParse.php
—
—
@@ -94,7 +94,7 @@
95
95
$wgTitle = $titleObj;
96
96
97
97
// If for some reason the "oldid" is actually the current revision, it may be cached
98
- if ( $titleObj->getLatestRevID() == $oldid ) {
98
+ if ( $titleObj->getLatestRevID() === intval( $oldid ) ) {
99
99
$p_result = false;
100
100
$pcache = ParserCache::singleton();
101
101
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r79451
Followup
r75334
. Change to int == string, rather than int === string (not goi...
reedy
22:35, 1 January 2011
Status & tagging log
14:37, 18 April 2011
😂
(
talk
|
contribs
)
changed the
status
of r79452
[
removed:
new
added:
ok]