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:
8ed0b1d
)
Don't cache zero-length 'pages' from redirects
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 10 Jul 2003 05:00:22 +0000
(
05:00
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 10 Jul 2003 05:00:22 +0000
(
05:00
+0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
17226b3
..
f0def94
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1667,6
+1667,7
@@
name=\"wpSummary\" maxlength=200 size=60><br>
function saveToFileCache( $text ) {
global $wgUseGzip, $wgCompressByDefault;
+ if(length($text) == 0) return "";
wfDebug(" saveToFileCache()\n", false);
$filename=$this->fileCacheName();