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:
2d50096
)
disableCache function
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 7 Aug 2005 12:09:46 +0000
(12:09 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 7 Aug 2005 12:09:46 +0000
(12:09 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
9d1ca27
..
65b7131
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-3298,6
+3298,14
@@
class Parser
$sk =& $this->mOptions->getSkin();
return $sk->makeImageLinkObj( $nt, $caption, $alt, $align, $width, $height, $framed, $thumb, $manual_thumb );
}
+
+ /**
+ * Set a flag in the output object indicating that the content is dynamic and
+ * shouldn't be cached.
+ */
+ function disableCache() {
+ $this->mOutput->mCacheTime = -1;
+ }
}
/**