summaryrefslogtreecommitdiff
path: root/maintenance/namespace2sql.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-07-28 11:52:48 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-07-28 11:52:48 +0200
commit222b01f5169f1c7e69762e0e8904c24f78f71882 (patch)
tree8e932e12546bb991357ec48eb1638d1770be7a35 /maintenance/namespace2sql.php
parent00ab76a6b686e98a914afc1975812d2b1aaa7016 (diff)
update to MediaWiki 1.16.0
Diffstat (limited to 'maintenance/namespace2sql.php')
-rw-r--r--maintenance/namespace2sql.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/maintenance/namespace2sql.php b/maintenance/namespace2sql.php
deleted file mode 100644
index 43a8cc64..00000000
--- a/maintenance/namespace2sql.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/**
- * Print SQL to insert namespace names into database.
- * This source code is in the public domain.
- *
- * @file
- * @ingroup Maintenance
- */
-
-require_once( "commandLine.inc" );
-
-for ($i = -2; $i < 16; ++$i) {
- $nsname = mysql_escape_string( $wgLang->getNsText( $i ) );
- $dbname = mysql_escape_string( $wgDBname );
- print "INSERT INTO ns_name(ns_db, ns_num, ns_name) VALUES('$dbname', $i, '$nsname');\n";
-}
-
-