summaryrefslogtreecommitdiff
path: root/maintenance/purgeList.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/purgeList.php')
-rw-r--r--maintenance/purgeList.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintenance/purgeList.php b/maintenance/purgeList.php
index 9bf7c1bf..abe76683 100644
--- a/maintenance/purgeList.php
+++ b/maintenance/purgeList.php
@@ -19,6 +19,9 @@ while( !feof( $stdin ) ) {
$url = $title->getFullUrl();
echo "$url\n";
$urls[] = $url;
+ if( isset( $options['purge'] ) ) {
+ $title->invalidateCache();
+ }
} else {
echo "(Invalid title '$page')\n";
}