--- drupal_wiki.profile.bak	2007-05-04 07:07:44.000000000 -0400
+++ drupal_wiki.profile	2007-05-04 07:11:02.000000000 -0400
@@ -120,7 +120,7 @@ function drupal_wiki_profile_final() {
   // -----
 
   // add role moderator
-  db_query("INSERT INTO {role} (`rid`, `name`) VALUES (3, '%s')", $moderator_role_name);
+  db_query("INSERT INTO {role} (rid, name) VALUES (3, '%s')", $moderator_role_name);
 
   // Access control settings
   // -----------------------
@@ -128,21 +128,21 @@ function drupal_wiki_profile_final() {
   // set access permissions for different roles
   db_query("UPDATE {permission} SET perm = 'access comments, access site-wide contact form, view original images, access content, search content, use advanced search, view uploaded files, access user profiles, create wiki content, edit own wiki content, edit wiki content, view revisions, post comments, post comments without approval' WHERE rid = 1");
   db_query("UPDATE {permission} SET perm = 'edit own blog, access comments, post comments, post comments without approval, access site-wide contact form, create images, edit own images, view original images, access all images, access img_assist, access content, create story content, create wiki content, edit own page content, edit own story content, edit own wiki content, edit wiki content, view revisions, search content, use advanced search, upload files, view uploaded files, access user profiles, change own username' WHERE rid = 2");
-  db_query("INSERT INTO {permission} (`rid`, `perm`, `tid`) VALUES (3, 'administer comments, use original size, administer nodes, create page content, edit page content, edit story content, revert revisions, access administration pages', 0)");
+  db_query("INSERT INTO {permission} (rid, perm, tid) VALUES (3, 'administer comments, use original size, administer nodes, create page content, edit page content, edit story content, revert revisions, access administration pages', 0)");
 
   // Users
   // -----
 
   // Add admin user with password 'admin'
-  db_query("INSERT INTO {users} (`uid`, `name`, `pass`, `mail`, `mode`, `sort`, `threshold`, `theme`, `signature`, `created`, `access`, `login`, `status`, `timezone`, `language`, `picture`, `init`, `data`) VALUES (1, 'admin', MD5('admin'), '', 0, 0, 0, '', '', NOW(), NOW(), 0, 1, NULL, '', '', '', NULL)");
+  db_query("INSERT INTO {users} (uid, name, pass, mail, mode, sort, threshold, theme, signature, created, access, login, status, timezone, language, picture, init, data) VALUES (1, 'admin', MD5('admin'), '', 0, 0, 0, '', '', '%s', '%s', 0, 1, NULL, '', '', '', NULL)", strtotime('now'), strtotime('now'));
   // Log in administrator after installation
   user_authenticate('admin', 'admin');
 
   // Add a normal user with the 'moderator' role
-  db_query("INSERT INTO {users} (`uid`, `name`, `pass`, `mail`, `mode`, `sort`, `threshold`, `theme`, `signature`, `created`, `access`, `login`, `status`, `timezone`, `language`, `picture`, `init`, `data`) VALUES (2, 'user', MD5('user'), '', 0, 0, 0, '', '', NOW(), NOW(), 0, 1, NULL, '', '', '', NULL)");
-  db_query("INSERT INTO {users_roles} (`uid`, `rid`) VALUES (2, 3)");
+  db_query("INSERT INTO {users} (uid, name, pass, mail, mode, sort, threshold, theme, signature, created, access, login, status, timezone, language, picture, init, data) VALUES (2, 'user', MD5('user'), '', 0, 0, 0, '', '', '%s', '%s', 0, 1, NULL, '', '', '', NULL)", strtotime('now'), strtotime('now'));
+  db_query("INSERT INTO {users_roles} (uid, rid) VALUES (2, 3)");
 
-  db_query("INSERT INTO {sequences} (`name`, `id`) VALUES ('users_uid', 2)");
+  db_query("INSERT INTO {sequences} (name, id) VALUES ('users_uid', 2)");
 
 
   // Input format
@@ -151,10 +151,10 @@ function drupal_wiki_profile_final() {
   // Remove roles from 'Filtered HTML' format
   db_query("UPDATE {filter_formats} SET roles = '' WHERE format = 1");
   // Add mediawiki format
-  db_query("INSERT INTO {filter_formats} (`format`, `name`, `roles`, `cache`) VALUES (%d, 'Mediawiki', ',,', 1)", $format_id);
+  db_query("INSERT INTO {filter_formats} (format, name, roles, cache) VALUES (%d, 'Mediawiki', ',,', 1)", $format_id);
   // Add pearwiki filter and geshi filter to mediawiki format
-  db_query("INSERT INTO {filters} (`format`, `module`, `delta`, `weight`) VALUES (%d, 'pearwiki_filter', 0, -5)", $format_id);
-  db_query("INSERT INTO {filters} (`format`, `module`, `delta`, `weight`) VALUES (%d, 'geshifilter', 0, 5)", $format_id);
+  db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (%d, 'pearwiki_filter', 0, -5)", $format_id);
+  db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (%d, 'geshifilter', 0, 5)", $format_id);
 
   // Set mediawiki filter to default
   variable_set('filter_default_format', "4");
