Tim Starling wrote:
The problem is not obvious to me on first sight. Maybe it's obvious to
someone else, but in the meantime, could you please provide us with some
debugging info? Put this in wiki.phtml after the includes if it's not
already there:
# Useful debug output
wfDebug( "\nStart request\n" );
wfDebug( "$REQUEST_METHOD $REQUEST_URI\n" );
$headers = getallheaders();
foreach ($headers as $name => $value) {
wfDebug( "$name: $value\n" );
}
wfDebug( "\n" );
Now follow a link to a non-existent article, create the article, go back
to the original page and hit reload. Then grab the debugging info for
those requests from the debug log file. By default that is
upload/log_dlJbnMZb.
Cheers Tim, here is an extract from the logfile that is the section where I
did the actions you asked. I also have attached the full file.
Start request
GET /wiki/wiki.phtml?title=Nik
Host: 10.0.0.2
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Referer:
http://10.0.0.2/wiki/wiki.phtml?title=Nik&action=edit
Cookie: PHPSESSID=ca20f2fd505078547d2d0e81c0dabfb3
We're confused.
tryFileCache() - not cacheable
** private caching; Fri, 12 Sep 2003 09:38:29 GMT **
20030912093830 0001.195 /wiki/wiki.phtml?title=Nik anon
Start request
GET /wiki/wiki.phtml?title=Testdebug&action=edit
Host: 10.0.0.2
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Referer:
http://10.0.0.2/wiki/wiki.phtml?title=Nik
Cookie: PHPSESSID=ca20f2fd505078547d2d0e81c0dabfb3
** no caching **
20030912093926 0004.547 /wiki/wiki.phtml?title=Testdebug&action=edit anon
Start request
POST /wiki/wiki.phtml?title=Testdebug&action=submit
Host: 10.0.0.2
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Referer:
http://10.0.0.2/wiki/wiki.phtml?title=Testdebug&action=edit
Cookie: PHPSESSID=ca20f2fd505078547d2d0e81c0dabfb3
Content-Type: application/x-www-form-urlencoded
Content-Length: 66
** no caching **