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:
77c8660
)
We no longer check the content, so have to make an explicit exception for the main...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 17 Dec 2003 09:41:17 +0000
(09:41 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 17 Dec 2003 09:41:17 +0000
(09:41 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
fce6c59
..
56ec140
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1219,8
+1219,8
@@
class Article {
$called = true;
if($this->isFileCacheable()) {
$touched = $this->mTouched;
- if(
strpos( $this->mContent, "{{" ) !== false
) {
- # Expire
pages with variable replacements in an hou
r
+ if(
$this->mTitle->getPrefixedDBkey() == wfMsg( "mainpage" )
) {
+ # Expire
the main page quicke
r
$expire = wfUnix2Timestamp( time() - 3600 );
$touched = max( $expire, $touched );
}