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:
9d7577a
)
Add an explicit Cache-control: no-cache header on external edit; possible reports...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 16 Jan 2008 20:59:24 +0000
(20:59 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 16 Jan 2008 20:59:24 +0000
(20:59 +0000)
includes/ExternalEdit.php
patch
|
blob
|
history
diff --git
a/includes/ExternalEdit.php
b/includes/ExternalEdit.php
index
f592d3c
..
f5ce5b9
100644
(file)
--- a/
includes/ExternalEdit.php
+++ b/
includes/ExternalEdit.php
@@
-34,6
+34,7
@@
class ExternalEdit {
$name=$this->mTitle->getText();
$pos=strrpos($name,".")+1;
header ( "Content-type: application/x-external-editor; charset=".$this->mCharset );
+ header( "Cache-control: no-cache" );
# $type can be "Edit text", "Edit file" or "Diff text" at the moment
# See the protocol specifications at [[m:Help:External editors/Tech]] for