<?php
-
/**
* Send purge requests for listed pages to squid
+ *
+ * @file
+ * @ingroup Maintenance
*/
require_once( "commandLine.inc" );
$url = $title->getFullUrl();
echo "$url\n";
$urls[] = $url;
+ if( isset( $options['purge'] ) ) {
+ $title->invalidateCache();
+ }
} else {
echo "(Invalid title '$page')\n";
}
echo "Done!\n";
-?>
+