}
function sendCacheControl() {
- global $wgUseSquid, $wgUseESI;
+ global $wgUseSquid, $wgUseESI, $wgSquidMaxage;
if ($this->mETag)
header("ETag: $this->mETag");
function wfProxyCheck() {
global $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath;
global $wgUseMemCached, $wgMemc, $wgDBname, $wgProxyMemcExpiry;
+ global $wgProxyKey;
if ( !$wgBlockOpenProxies ) {
return;
$this->moveOverExistingRedirect( $nt, $reason );
$pageCountChange = 0;
} else { # Target didn't exist, do normal move.
- $this->moveToNewTitle( $nt, $newid, $reason );
+ $this->moveToNewTitle( $nt, $reason );
$pageCountChange = 1;
}
$redirid = $this->getArticleID();
/**
* Move page to non-existing title.
* @param Title &$nt the new Title
- * @param int &$newid set to be the new article ID
* @access private
*/
- function moveToNewTitle( &$nt, &$newid, $reason = '' ) {
+ function moveToNewTitle( &$nt, $reason = '' ) {
global $wgUser, $wgUseSquid;
global $wgMwRedir;
$fname = 'MovePageForm::moveToNewTitle';