Index: trunk/extensions/SemanticForms/specials/SF_UploadWindow2.php |
— | — | @@ -119,10 +119,12 @@ |
120 | 120 | */ |
121 | 121 | public function execute( $par ) { |
122 | 122 | global $wgUser, $wgOut, $wgRequest; |
123 | | - // disable $wgOut - we'll print out the page manually, taking |
| 123 | + // Disable $wgOut - we'll print out the page manually, taking |
124 | 124 | // the body created by the form, plus the necessary Javascript |
125 | | - // files, and turning them into an HTML page |
| 125 | + // files, and turning them into an HTML page. |
126 | 126 | $wgOut->disable(); |
| 127 | + // This line is needed to get around Squid caching. |
| 128 | + $wgOut->sendCacheControl(); |
127 | 129 | |
128 | 130 | $this->setHeaders(); |
129 | 131 | $this->outputHeader(); |