dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80c7f08
)
Per Nikerabbit on IRC, and Bryan on CR (r79451), change back for ===, and intval...
author
Sam Reed
<reedy@users.mediawiki.org>
Sat, 1 Jan 2011 22:42:53 +0000
(22:42 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sat, 1 Jan 2011 22:42:53 +0000
(22:42 +0000)
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
d2e1920
..
39da103
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-94,7
+94,7
@@
class ApiParse extends ApiBase {
$wgTitle = $titleObj;
// If for some reason the "oldid" is actually the current revision, it may be cached
- if ( $titleObj->getLatestRevID() ==
$oldid )
{
+ if ( $titleObj->getLatestRevID() ==
= intval( $oldid ) )
{
$p_result = false;
$pcache = ParserCache::singleton();