# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @todo document
+ * @deprecated
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
+
+/** */
+die( "This import script is not currently maintained.
+If you need it you'll have to modify it as necessary.\n");
+
if ( ! is_readable( "../LocalSettings.php" ) ) {
print "A copy of your installation's LocalSettings.php\n" .
"must exist in the source directory.\n";
require_once( "rebuildrecentchanges.inc" );
require_once( "rebuildtextindex.inc" );
+/**
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
class Phase2Importer {
var $olddb, $titleCache;
if ( "yes" == $s || "on" == $s ) { $nops["hover"] = 1; }
$c = $ops["cols"];
- if ( $c < 20 || c > 200 ) { $nops["cols"] = 80; }
+ if ( $c < 20 || $c > 200 ) { $nops["cols"] = 80; }
else { $nops["cols"] = $c; }
$r = $ops["rows"];
if ( $r < 5 || $r > 100 ) { $nops["rows"] = 20; }
}
+/**
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
class TitleCache {
var $hash = array();
$importer = new Phase2Importer( $olddb );
$importer->importAll();
-?>
\ No newline at end of file
+?>