Mark some old scripts as obsolete; this keeps them from being accidentally run via...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 3 Mar 2004 08:45:40 +0000 (08:45 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 3 Mar 2004 08:45:40 +0000 (08:45 +0000)
maintenance/archives/importTests.php
maintenance/archives/importUseModWiki.php
maintenance/archives/upgradeWatchlist.php

index 2ca2909..ef751a7 100644 (file)
@@ -1,4 +1,12 @@
-<html>
+<?php
+
+print "This script is obsolete!";
+print "It is retained in the source here in case some of its
+code might be useful for ad-hoc conversion tasks, but it is
+not maintained and probably won't even work as is.";
+exit();
+
+?><html>
 <head>
 <title>Unit tests for UseMod-to-PediaWiki import script</title>
 <meta http-equiv="Refresh" content="10;URL=importTests.php">
index 5e033a5..09eb025 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 
+print "This script is obsolete!";
+print "It is retained in the source here in case some of its
+code might be useful for ad-hoc conversion tasks, but it is
+not maintained and probably won't even work as is.";
+exit();
+
 /*
        Import data from a UseModWiki into a PediaWiki wiki
        2003-02-09 Brion VIBBER <brion@pobox.com>
index 95e8e2f..1027bb8 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+
+print "This script is obsolete!";
+print "It is retained in the source here in case some of its
+code might be useful for ad-hoc conversion tasks, but it is
+not maintained and probably won't even work as is.";
+exit();
+
 # Convert watchlists to new format
 
 global $IP;